MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / should_prune_dir

Function should_prune_dir

src/migrate/inventory.rs:921–926  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

919}
920
921fn should_prune_dir(name: &str) -> bool {
922 matches!(
923 name,
924 "node_modules" | "target" | ".git" | "vendor" | "dist" | "build" | ".next" | ".venv"
925 )
926}
927
928fn file_size(path: &Path) -> u64 {
929 std::fs::metadata(path).map_or(0, |meta| meta.len())

Callers 1

scan_rootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected