diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 06:33:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 06:33:53 -0300 |
| commit | ffe05cceb897b3ae6a6d36491f9318a8aa3426e7 (patch) | |
| tree | 352414579559060b3e8486af34e29d49fd5df781 /core/Dir.zig | |
| parent | 5b7124d10f9b2db8d1c5e99eacb9b6d2fffff0cc (diff) | |
| parent | a403340ec5c90238b136ca85fc64d65809b29a65 (diff) | |
| download | pardes-ffe05cceb897b3ae6a6d36491f9318a8aa3426e7.tar.gz pardes-ffe05cceb897b3ae6a6d36491f9318a8aa3426e7.zip | |
integration: the build's second pass on the handle and the devices once: pardes-build-pass2 (pardes-isolate and the tree-sitter=disabled tier deleted; one option, grammars = none | minimal | full; build.zig with the consumer's lines as its head comment; test/lib -> test/consumer; the manual's library section) and pardes-merge31, merged without a textual conflict; one line follows a deletion: dev/file_watch.zig's end-to-end test of a session's watches (written since on the base) guarded on fs.platform_has_fs, which the first of these changes deleted: the guard reads as the file's other tests' (comptime !supported); tui core-test 857/1008 (151 skipped), shell-test 1048/1051, the window builds; the coordinator's gate in the ledger (reorg/merge32)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Dir.zig')
| -rw-r--r-- | core/Dir.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/Dir.zig b/core/Dir.zig index 29c5cdc8..869a7cd5 100644 --- a/core/Dir.zig +++ b/core/Dir.zig @@ -47,7 +47,6 @@ pub fn ofName(name: []const u8) []const u8 { /// dotfiles too; a directory's, a link to one's too, ending in `/`; sorted /// bytewise, the `/` counted; each ending in a newline. pub fn read(tape: *pardes.tape.Tape, gpa: std.mem.Allocator, dir: []const u8) ![]u8 { - if (comptime !filesystem.platform_has_fs) return error.FileNotFound; const local = filesystem.localPath(dir) orelse return error.NotLocal; // Its own copy: the caller's may be a pane's, gone while the turn is out. var own: [4096]u8 = undefined; @@ -294,7 +293,6 @@ test "a wide character counts its cells, not its bytes" { } test "a directory reads as acme lists it: dotfiles kept, . and .. not, directories and links to them marked, sorted bytewise" { - if (comptime !filesystem.platform_has_fs) return; var tmp = testing.tmpDir(.{}); defer tmp.cleanup(); const io = testing.io; |
