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.
As reported in #40,
FileCache
isn't usable, as it only implementsCache<Path>
. However, asPath
is unsized, it's impossible to actually pass in aPath
, makingFileCache
unusable. This PR just changes the implementation to use&Path
instead. In my quick testing, it appears to now work without any issues.