src/repositories.cpp

changeset 52
e9edc3bd0301
parent 49
e4f1aea7df99
--- a/src/repositories.cpp	Mon May 19 15:34:30 2025 +0200
+++ b/src/repositories.cpp	Mon May 19 16:05:58 2025 +0200
@@ -36,6 +36,10 @@
       type(type) {
 }
 
+bool repositories::exists(const std::string &path) {
+    return fs::is_directory(path);
+}
+
 void repositories::scan(std::string path, unsigned depth) {
     // check the base path
     {

mercurial