Skip to content

Conversation

@scratchyone
Copy link

@scratchyone scratchyone commented Jan 5, 2024

As reported in #40, FileCache isn't usable, as it only implements Cache<Path>. However, as Path is unsized, it's impossible to actually pass in a Path, making FileCache unusable. This PR just changes the implementation to use &Path instead. In my quick testing, it appears to now work without any issues.

@nevakrien
Copy link
Contributor

How about we dont break backwards compatibility by simply adding ANOTHER implementation of Cache as opposed to changing it.

So file cache would work with both Path and &Path and we can just merge it right now

@zesterer zesterer force-pushed the main branch 2 times, most recently from 2f36bc2 to 4b3807c Compare December 13, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants