refactor: sort filtered_dirs entries
This commit is contained in:
parent
a2aca96f04
commit
0d198a1440
1 changed files with 8 additions and 8 deletions
|
@ -769,17 +769,17 @@ fn walk_tree_async(a_: std.mem.Allocator, root_path_: []const u8) (SpawnError ||
|
||||||
|
|
||||||
const filtered_dirs = [_][]const u8{
|
const filtered_dirs = [_][]const u8{
|
||||||
"build",
|
"build",
|
||||||
|
".cache",
|
||||||
|
".cargo",
|
||||||
".git",
|
".git",
|
||||||
".jj",
|
".jj",
|
||||||
".cache",
|
|
||||||
".var",
|
|
||||||
"zig-out",
|
|
||||||
"zig-cache",
|
|
||||||
".zig-cache",
|
|
||||||
".rustup",
|
|
||||||
".npm",
|
|
||||||
".cargo",
|
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
".npm",
|
||||||
|
".rustup",
|
||||||
|
".var",
|
||||||
|
".zig-cache",
|
||||||
|
"zig-cache",
|
||||||
|
"zig-out",
|
||||||
};
|
};
|
||||||
|
|
||||||
fn is_filtered_dir(dirname: []const u8) bool {
|
fn is_filtered_dir(dirname: []const u8) bool {
|
||||||
|
|
Loading…
Add table
Reference in a new issue