Skip to content

Conversation

kengelbrecht
Copy link
Contributor

The set() method in FileSystemCache now checks if the file is new and only then increases file count. To my understanding, this only happened when caching a None value (this is why in the test case I added None values to the cache). I also fixed two locations where a cache file was deleted without updating the file count (in has() and get() methods).

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 79.223% when pulling 908c45a on Kl000s:master into 82fa1d5 on sh4nks:master.

@sh4nks sh4nks merged commit f1899bc into pallets-eco:master Jan 7, 2021
@sh4nks
Copy link
Collaborator

sh4nks commented Jan 7, 2021

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants