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/nix
Brian McGee 80e99b6d75 feat: use go-git index instead of git ls-files (#23)
Figured out how to use `go-git` properly.

```console
# git

❯ nix run .# -- --config-file ./test/echo.toml --tree-root /home/brian/Development/com/github/nixos/nixpkgs -c
38539 files changed in 272.843495ms

# filesystem

❯ nix run .# -- --config-file ./test/echo.toml --tree-root /home/brian/Development/com/github/nixos/nixpkgs -c --walk filesystem
38567 files changed in 348.84277ms
```

Signed-off-by: Brian McGee <brian@bmcgee.ie>
Reviewed-on: #23
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>
2024-01-12 11:33:14 +00:00
..
checks.nix feat: initial import 2023-12-23 12:50:51 +00:00
default.nix feat: initial import 2023-12-23 12:50:51 +00:00
devshell.nix fix: nix build 2024-01-03 09:20:32 +00:00
formatters.nix fix: nix build 2024-01-03 09:20:32 +00:00
nixpkgs.nix feat: initial import 2023-12-23 12:50:51 +00:00
packages.nix feat: use go-git index instead of git ls-files (#23) 2024-01-12 11:33:14 +00:00
treefmt.nix feat: align example treefmt config with flake treefmt config 2023-12-23 13:06:50 +00:00