mirror of
https://codeberg.org/ziglang/zig
synced 2026-03-16 23:21:44 +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