| ... | @@ -125,7 +125,7 @@ pub fn fileList(alloc: std.mem.Allocator, dir: std.fs.IterableDir) ![]string { | ... | @@ -125,7 +125,7 @@ pub fn fileList(alloc: std.mem.Allocator, dir: std.fs.IterableDir) ![]string { |
| 125 | var walk = try dir.walk(alloc); | 125 | var walk = try dir.walk(alloc); |
| 126 | defer walk.deinit(); | 126 | defer walk.deinit(); |
| 127 | while (try walk.next()) |entry| { | 127 | while (try walk.next()) |entry| { |
| 128 | if (entry.kind != .File) continue; | 128 | if (entry.kind != .file) continue; |
| 129 | try list.append(try alloc.dupe(u8, entry.path)); | 129 | try list.append(try alloc.dupe(u8, entry.path)); |
| 130 | } | 130 | } |
| 131 | return list.toOwnedSlice(); | 131 | return list.toOwnedSlice(); |