feat/bust-cache-validators-change #14

Merged
brianmcgee merged 2 commits from feat/bust-cache-validators-change into main 2024-01-03 08:08:57 +00:00

2 Commits

Author SHA1 Message Date
1f602c4b4b
feat: bust cache when formatters change
Tracks the mod time and size of a formatter's executable in bolt.

The cache is busted using the following criteria:

- a new formatter has been configured.
- an existing formatter has changed (mod time or size)
- an existing formatter has been removed from config

Also implemented better resolution of symlinks when determining a formatters executable path.

Closes #2

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-01-02 17:45:37 +00:00
4f5e9e5b21
fix: bug with initial batch size when updating paths
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-01-02 16:30:26 +00:00