diff -r 49fdc2eb7cd4 -r e9edc3bd0301 src/repositories.cpp --- 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 {