This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
treefmt/internal/format
Brian McGee 9051aa6d0f
feat: support traversing the filesystem using git
Introduces a `--walk` flag which can be used to tell `treefmt` how to traverse the directory specified by `--tree-root`.

By default, it will attempt to use `git ls-files`. If this fails, it falls back to using the filesystem.

You can explicitly traverse the filesystem instead of using git by providing `--walk filesystem`.

Close #1

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-01-10 13:35:18 +00:00
..
config_test.go feat: allow missing formatters (#6) 2023-12-23 15:00:39 +00:00
config.go feat: support global excludes (#13) 2024-01-02 12:12:47 +00:00
context.go feat: clean up and documentation 2023-12-24 11:59:05 +00:00
format.go feat/bust-cache-validators-change (#14) 2024-01-03 08:08:57 +00:00
glob.go feat: support traversing the filesystem using git 2024-01-10 13:35:18 +00:00