Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stack: return cached file if possible in get_or_update
When we aren't replacing a file, prefer to return the cached file after a call to `put`: if we lost the race and we can find a new cached file, it's usually better to return what's now persisted on disk, as though we had found it before attempting to fill the miss.
- Loading branch information