-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
With frequent Git (or similar) operations, treefmt often needs to reformat all files, even though almost none changed, since the timestamps got updated, therefore invalidating the cache.
Describe the solution you'd like
A cache of hashes that are known to be formatted. So when it would format a file, it first checks if its hash is in the cache. If yes, no action necessary. If no, format it and add the new hash to the cache.
Describe alternatives you've considered
Additional context
zimbatm and eclairevoyant
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request