update caching to use file system last modified time #39
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kevintl1998/yapp.nvim#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current caching method computes the hash of the output config file and uses that to determine if the cached output config file should be saved. I've run into a problem where the output config does not get generated even though it does not exist.
Using the last modified time from the file system is easier and more reliable.
The logic to determine if the output config file should be generated should happen before it is actually generated. Currently its being generated, checked if it should be updated via the hash, then the cache is saved.