Brian McGee brianmcgee
brianmcgee closed issue numtide/treefmt#8 2024-01-03 13:10:55 +00:00
Support fail on change
brianmcgee pushed to main at numtide/treefmt 2024-01-03 13:10:55 +00:00
84629f7b94 feat: support fail on change (#16)
brianmcgee pushed to main at numtide/treefmt 2024-01-03 10:39:58 +00:00
aebbcfd4f1 nit: clean batch capacity (#17)
brianmcgee merged pull request numtide/treefmt#17 2024-01-03 10:39:56 +00:00
nit: clean batch capacity
brianmcgee created branch feat/support-gigignore in numtide/treefmt 2024-01-03 10:38:40 +00:00
brianmcgee pushed to feat/support-gigignore at numtide/treefmt 2024-01-03 10:38:40 +00:00
214fdf20b6 feat: use relative paths from cwd when matching
Compare 2 commits »
brianmcgee created pull request numtide/treefmt#16 2024-01-03 09:55:53 +00:00
feat: support fail on change
brianmcgee created branch feat/fail-on-change in numtide/treefmt 2024-01-03 09:55:31 +00:00
brianmcgee pushed to feat/fail-on-change at numtide/treefmt 2024-01-03 09:55:31 +00:00
23f1038c3d feat: support fail on change
brianmcgee commented on issue numtide/treefmt#2 2024-01-03 09:47:29 +00:00
Bust the cache if any of the formatters change
brianmcgee closed issue numtide/treefmt#2 2024-01-03 09:47:29 +00:00
Bust the cache if any of the formatters change
brianmcgee created pull request numtide/treefmt#15 2024-01-03 09:42:05 +00:00
feat: support changing work directory
brianmcgee created branch feat/change-work-directory in numtide/treefmt 2024-01-03 09:41:18 +00:00
brianmcgee pushed to feat/change-work-directory at numtide/treefmt 2024-01-03 09:41:18 +00:00
f230dae37b feat: support changing work directory
brianmcgee pushed to main at numtide/treefmt 2024-01-03 09:20:42 +00:00
4a78a1e319 fix: nix build
brianmcgee pushed to main at numtide/treefmt 2024-01-03 08:08:58 +00:00
811f883a2b feat/bust-cache-validators-change (#14)
brianmcgee merged pull request numtide/treefmt#14 2024-01-03 08:08:57 +00:00
feat/bust-cache-validators-change
brianmcgee commented on pull request numtide/treefmt#14 2024-01-02 20:25:32 +00:00
feat/bust-cache-validators-change

What I believe I'm doing here is creating an instance of batch with a pre-initialised backing array of batchSize but resetting the slice's length to 0 so that subsequent logic looking at…

brianmcgee commented on pull request numtide/treefmt#14 2024-01-02 20:21:28 +00:00
feat/bust-cache-validators-change

I currently think of it as a cache.Entry given the package it's within, as it's more of a Cache Entry for me than a Cache Key since it's not being used as the key in bolt.

brianmcgee commented on pull request numtide/treefmt#14 2024-01-02 20:20:28 +00:00
feat/bust-cache-validators-change

I went with os.Lstat here because gofmt resolved to a symlink which was then another relative symlink within the nix output path. This ensures we recursively resolve down to the underlying…