summaryrefslogtreecommitdiffstats
path: root/util/folder/path.h
diff options
context:
space:
mode:
authortldr <[email protected]>2022-02-10 16:50:18 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:18 +0300
commitfb217752f4b5a81abe9df05e38c5a71d080fc2a8 (patch)
treeb61080bac892e4d99c55a947c93ddee756202193 /util/folder/path.h
parentc3356aebb686e7128a19f75ef61d57388131f12f (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/folder/path.h')
-rw-r--r--util/folder/path.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/util/folder/path.h b/util/folder/path.h
index 2fb4d6b4ef3..4582b3fe7b4 100644
--- a/util/folder/path.h
+++ b/util/folder/path.h
@@ -88,27 +88,27 @@ public:
bool IsAbsolute() const;
bool IsRelative() const;
- /**
- * TFsPath("/a/b").IsSubpathOf("/a") -> true
- *
- * TFsPath("/a").IsSubpathOf("/a") -> false
- *
- * TFsPath("/a").IsSubpathOf("/other/path") -> false
- * @param that - presumable parent path of this
- * @return True if this is a subpath of that and false otherwise.
- */
+ /**
+ * TFsPath("/a/b").IsSubpathOf("/a") -> true
+ *
+ * TFsPath("/a").IsSubpathOf("/a") -> false
+ *
+ * TFsPath("/a").IsSubpathOf("/other/path") -> false
+ * @param that - presumable parent path of this
+ * @return True if this is a subpath of that and false otherwise.
+ */
bool IsSubpathOf(const TFsPath& that) const;
-
- /**
- * TFsPath("/a/b").IsNonStrictSubpathOf("/a") -> true
- *
- * TFsPath("/a").IsNonStrictSubpathOf("/a") -> true
- *
- * TFsPath("/a").IsNonStrictSubpathOf("/other/path") -> false
- * @param that - presumable parent path of this
- * @return True if this is a subpath of that or they are equivalent and false otherwise.
- */
- bool IsNonStrictSubpathOf(const TFsPath& that) const;
+
+ /**
+ * TFsPath("/a/b").IsNonStrictSubpathOf("/a") -> true
+ *
+ * TFsPath("/a").IsNonStrictSubpathOf("/a") -> true
+ *
+ * TFsPath("/a").IsNonStrictSubpathOf("/other/path") -> false
+ * @param that - presumable parent path of this
+ * @return True if this is a subpath of that or they are equivalent and false otherwise.
+ */
+ bool IsNonStrictSubpathOf(const TFsPath& that) const;
bool IsContainerOf(const TFsPath& that) const {
return that.IsSubpathOf(*this);