Closed fteychene closed 4 years ago
Great to see you're working on this! Let me know when you'd like me to have a look at it
Hey @Nadrieril :wave: I think this code could be review
Still working on adding some unit tests on cache.rs
but the logic code is reviewable I think
Oh wow this is really good work! Your testing is quite thorough too. I'm happy to merge it as it is, unless you were planning to add some more tests
It's ok for me, I think it could be merge as it :ok_hand: :rocket:
Thx
Thanks again!
Add cache to resolve as defined in standard
Create a
Cache
that check env vars depending on os and create folder if needed. Onresolve_one_import
it search in the cache folder if the importhash
is available if cache and hash are available. If it exist then resolve and noramlize it. Check that the hash from the cache match the requested cache, if not delete the file from the cache If cache is missing or invalid load te import like before and try to save it if a hash for import is provided.Todo :
Rel: #135