Fix walked_roots to only include recursively walked directories

This commit is contained in:
Joe 2026-03-06 20:53:28 -06:00
parent 4e9e676cf2
commit dc788711c7
3 changed files with 27 additions and 4 deletions

View file

@ -269,6 +269,7 @@ fn parallel_snapshot_with_prefetch_cache() {
is_file,
children: children_map,
dir_init: std::collections::HashMap::new(),
walked_roots: Vec::new(),
});
let snap_cached = librojo::snapshot_from_vfs(&ctx, &vfs_cached, &project_path)
@ -375,6 +376,7 @@ fn overlapping_path_roots_no_duplicate_children() {
is_file,
children: children_map,
dir_init: std::collections::HashMap::new(),
walked_roots: Vec::new(),
});
let snap = librojo::snapshot_from_vfs(&ctx, &vfs, &project_path)