summaryrefslogtreecommitdiffhomepage
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.h b/file.h
index 9570266..80133e8 100644
--- a/file.h
+++ b/file.h
@@ -6,3 +6,6 @@ extern const std::filesystem::path YMakefile;
bool is_buildable_by_extension(const std::filesystem::path& p);
bool is_compile_unit_source_by_extension(const std::filesystem::path& p);
+
+// removes initial "./"
+std::filesystem::path simplified_path(const std::filesystem::path& p);