Adds key to file path pair to cache and copies file to new location. Does not delete the given file at filepath
Automatically throws out least recently used items if not enough space left to fit new file
Resolves with path to cached file location
the key pointing to the given file path
the file path representing the file to cache
Gets the cached file path associated with the key. Returns undefined if file mapped from key is not cached
Generated using TypeDoc
A variant of the LRU cache where this cache stores mappings from keys to file paths. This throws out least recently used items when adding a new file path to cache. Thrown out items are removed from cache and the file it pointed to is deleted