aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/canon-path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/canon-path.hh')
-rw-r--r--src/libutil/canon-path.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/canon-path.hh b/src/libutil/canon-path.hh
index 76e48c4f2..30f43b5a4 100644
--- a/src/libutil/canon-path.hh
+++ b/src/libutil/canon-path.hh
@@ -46,6 +46,8 @@ public:
: path(std::move(path))
{ }
+ static CanonPath fromCwd(std::string_view path = ".");
+
static CanonPath root;
/**