mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-16 21:15:23 +03:00
1de63ad793
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.