| author | |
| committer | |
| log | 3599fb9bfc221c37cdd59d3b19a10eff63a4170e |
| tree | 1fadfccecccef8c8de36cf3f8e20cb7ba5ded262 |
| parent | 391d81a3802e48f59d804746eedc396d60ad3820 |
1 files changed, 3 insertions(+), 0 deletions(-)
src/main.zig+3| ... | ... | @@ -2655,6 +2655,9 @@ fn fmtPathDir( |
| 2655 | 2655 | var dir_it = dir.iterate(); |
| 2656 | 2656 | while (try dir_it.next()) |entry| { |
| 2657 | 2657 | const is_dir = entry.kind == .Directory; |
| 2658 | ||
| 2659 | if (is_dir and std.mem.eql(u8, entry.name, "zig-cache")) continue; | |
| 2660 | ||
| 2658 | 2661 | if (is_dir or mem.endsWith(u8, entry.name, ".zig")) { |
| 2659 | 2662 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); |
| 2660 | 2663 | defer fmt.gpa.free(full_path); |