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 811f883a2b feat/bust-cache-validators-change (#14)
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.

Reviewed-on: #14
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-03 08:08:57 +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 global excludes (#13) 2024-01-02 12:12:47 +00:00