diff options
Diffstat (limited to 'src/ls.zig')
-rw-r--r-- | src/ls.zig | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ls.zig b/src/ls.zig deleted file mode 100644 index 64e27cf..0000000 --- a/src/ls.zig +++ /dev/null @@ -1,12 +0,0 @@ -const std = @import("std"); - -pub fn ls() !void { - const dir = try std.fs.cwd().openDir(".", .{ .iterate = true }); - - var iterator = dir.iterate(); - - while (try iterator.next()) |entry| { - const name = entry.name; - std.debug.print("{s}\n", .{name}); - } -} |