From 28c63ce8d4533e27367f2d18137a7c12c0b96970 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Tue, 9 Jul 2024 01:02:14 +0300 Subject: update README and removed dumb helloworlds --- src/ls.zig | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/ls.zig (limited to 'src/ls.zig') 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}); - } -} -- cgit 1.4.1-2-gfad0