mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 18:53:07 +00:00
This change adds a "--exclude" parameter to zig format, which can be used to make sure that it does not process certain files or folders when recursively walking a directory. To do this, we simply piggy-back on the existing "seen" logic in zig fmt and mark these files/folders as seen before processing begins.