aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-06-18 13:55:03 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-06-18 13:58:08 -0400
commit1ca90b585692c9611c64412844d2f3a7b3e11340 (patch)
tree6cf95158bbd2a5f527ae315305f40941a6d56b6b /src/ir.cpp
parentcd4676a2338430d9e424f297b8b576143c5be180 (diff)
downloadzig-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