| 448 | } |
| 449 | |
| 450 | bool 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 | |
| 457 | std::optional<fs::path> cliFindScriptInRoot(const fs::path& root) { |
| 458 | std::error_code err; |
no test coverage detected