mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
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 Reviewed-on: https://git.numtide.com/numtide/treefmt/pulls/19 Reviewed-by: Jonas Chevalier <zimbatm@noreply.git.numtide.com> Co-authored-by: Brian McGee <brian@bmcgee.ie> Co-committed-by: Brian McGee <brian@bmcgee.ie>
56 lines
2.1 KiB
Modula-2
56 lines
2.1 KiB
Modula-2
module git.numtide.com/numtide/treefmt
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.3.2
|
|
github.com/adrg/xdg v0.4.0
|
|
github.com/alecthomas/kong v0.8.1
|
|
github.com/charmbracelet/log v0.3.1
|
|
github.com/go-git/go-billy/v5 v5.5.0
|
|
github.com/go-git/go-git/v5 v5.11.0
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/otiai10/copy v1.14.0
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/vmihailenco/msgpack/v5 v5.4.1
|
|
go.etcd.io/bbolt v1.3.8
|
|
golang.org/x/sync v0.5.0
|
|
)
|
|
|
|
require (
|
|
dario.cat/mergo v1.0.0 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/charmbracelet/lipgloss v0.9.1 // indirect
|
|
github.com/cloudflare/circl v1.3.3 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.18 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/muesli/reflow v0.3.0 // indirect
|
|
github.com/muesli/termenv v0.15.2 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/sergi/go-diff v1.1.0 // indirect
|
|
github.com/skeema/knownhosts v1.2.1 // indirect
|
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
golang.org/x/crypto v0.16.0 // indirect
|
|
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
|
|
golang.org/x/mod v0.13.0 // indirect
|
|
golang.org/x/net v0.19.0 // indirect
|
|
golang.org/x/sys v0.15.0 // indirect
|
|
golang.org/x/tools v0.14.0 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|