diff options
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; |
