diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-06-18 13:55:03 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-06-18 13:58:08 -0400 |
| commit | 1ca90b585692c9611c64412844d2f3a7b3e11340 (patch) | |
| tree | 6cf95158bbd2a5f527ae315305f40941a6d56b6b /src/ir.cpp | |
| parent | cd4676a2338430d9e424f297b8b576143c5be180 (diff) | |
| download | zig-1ca90b585692c9611c64412844d2f3a7b3e11340.tar.gz zig-1ca90b585692c9611c64412844d2f3a7b3e11340.zip | |
zig fmt: support directories
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
Diffstat (limited to 'src/ir.cpp')
0 files changed, 0 insertions, 0 deletions
