FileSystemDirectoryCache

constructor(loader: CacheableDataLoader<K>, root: Path)(source)

Parameters

loader

fills a cache entry whenever it is missing.

root

path of the cache root directory, created if missing.

Type Parameters

K

the type of CachedDirectoryKey accepted by this cache.