aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/canon-path.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-04-17 11:41:50 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-04-17 11:41:50 +0200
commitcb2615cf4735cf28a6e538544c9abbf40cdd24a9 (patch)
tree55eb0a30ff9bba54e568facec1ff0cdfeffbba73 /src/libutil/canon-path.hh
parenta9759407e55fb02c6e306fdd9fcedd821e465024 (diff)
parent9af9c260fc0aff9e20a1c2e965249a20394ca22a (diff)
Merge remote-tracking branch 'upstream/master' into source-path
Diffstat (limited to 'src/libutil/canon-path.hh')
-rw-r--r--src/libutil/canon-path.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libutil/canon-path.hh b/src/libutil/canon-path.hh
index 30f43b5a4..eefe05ed5 100644
--- a/src/libutil/canon-path.hh
+++ b/src/libutil/canon-path.hh
@@ -194,8 +194,10 @@ public:
*/
bool isAllowed(const std::set<CanonPath> & allowed) const;
- /* Return a representation `x` of `path` relative to `this`, i.e.
- `CanonPath(this.makeRelative(x), this) == path`. */
+ /**
+ * Return a representation `x` of `path` relative to `this`, i.e.
+ * `CanonPath(this.makeRelative(x), this) == path`.
+ */
std::string makeRelative(const CanonPath & path) const;
};