diff options
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1102,19 +1102,11 @@ pub const platform_has_fs = !pardes.isolated and switch (pardes.platform) { .web, .esp32p4 => false, }; -const find_max_hits = 512; - -const find_max_depth = 16; - pub const find_skip = [_][]const u8{ ".git", ".jj", "target", "node_modules", ".venv", "__pycache__", ".zig-cache", "zig-out", }; -// Find and Grep walk on the disk engine's worker now (Stream.zig); what is -// left here is what their notes and skips were. -const grep_max_files = 20_000; - fn isDir(path: [*:0]const u8) bool { const fd = libc.open(path, .{ .ACCMODE = .RDONLY, .DIRECTORY = true, .CLOEXEC = true }); if (fd < 0) return false; |
