MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / cliSkipEntrySearchDir

Function cliSkipEntrySearchDir

Source/Basic/Application.cpp:450–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450bool cliSkipEntrySearchDir(const fs::path& path) {
451 static const std::unordered_set<std::string> ignoredDirs = {
452 ".git", ".svn", ".hg", "build", "dist", "node_modules", "target",
453 };
454 return ignoredDirs.contains(path.filename().string());
455}
456
457std::optional<fs::path> cliFindScriptInRoot(const fs::path& root) {
458 std::error_code err;

Callers 1

cliFindScriptInRootFunction · 0.85

Calls 3

containsMethod · 0.45
stringMethod · 0.45
filenameMethod · 0.45

Tested by

no test coverage detected