diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-09 02:04:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 02:14:10 -0300 |
| commit | c78d362fa20393621ac198861f891439f9d832e9 (patch) | |
| tree | 7ba6d82f7dca1926abf7a985cf3830c69d21c90c /src/fs.zig | |
| parent | 69b993d585cfb14c607f46aba500b141b85516ff (diff) | |
| download | pardes-c78d362fa20393621ac198861f891439f9d832e9.tar.gz pardes-c78d362fa20393621ac198861f891439f9d832e9.zip | |
locality: caller-led moves: MAX_JUMPS into Jump.zig (Core's unused alias goes), RasterPolicy and rasterPolicy beside Kind.viewOf, Names.relative beside Query.startSource, fs.find_skip beside Stream's max_walk_depth, File.drawGutter and drawWrapMarkers beside body_layer.renderBody; each unit's only users are in its new file
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -664,11 +664,6 @@ fn findEmbeddedSource(path: []const u8, allow_root_suffix: bool) ?Source { pub const platform_has_fs = !pardes.isolated; -pub const find_skip = [_][]const u8{ - ".git", ".jj", "target", "node_modules", - ".venv", "__pycache__", ".zig-cache", "zig-out", -}; - fn isDir(path: [*:0]const u8) bool { const fd = libc.open(path, .{ .ACCMODE = .RDONLY, .DIRECTORY = true, .CLOEXEC = true }); if (fd < 0) return false; |
