| author | |
| committer | |
| log | a7eea0813fcec1d381ca17ded13595c6172ad396 |
| tree | 3fdfa8e0532e6b96ba4187cd866ed5f33238e79c |
| parent | 85c1db9222f6aa9abbc50309dfb7ce56b3cb6cf0 |
1 files changed, 3 insertions(+), 0 deletions(-)
src/main.zig+3| ... | ... | @@ -2622,6 +2622,9 @@ fn fmtPathDir( |
| 2622 | 2622 | var dir_it = dir.iterate(); |
| 2623 | 2623 | while (try dir_it.next()) |entry| { |
| 2624 | 2624 | const is_dir = entry.kind == .Directory; |
| 2625 | ||
| 2626 | if (is_dir and std.mem.eql(u8, entry.name, "zig-cache")) continue; | |
| 2627 | ||
| 2625 | 2628 | if (is_dir or mem.endsWith(u8, entry.name, ".zig")) { |
| 2626 | 2629 | const full_path = try fs.path.join(fmt.gpa, &[_][]const u8{ file_path, entry.name }); |
| 2627 | 2630 | defer fmt.gpa.free(full_path); |