mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 08:33:15 +00:00
zig fmt accepts any number of file paths. For each one, if it is a file, then it formats the file. If it is a directory, then zig recursively scans the directory, formatting all files that end in `.zig`. it maintains a map of paths that have been seen already, to avoid softlink loops. closes #1068