Interface: FileSystemCacheOptions
Options for cache.
Properties
Section titled “Properties”filter?
Section titled “filter?”
optionalfilter?: (operation,path) =>boolean
Optional operation/path filter evaluated after path normalization. Return
true to cache the read and false to delegate directly to the source.
Parameters
Section titled “Parameters”operation
Section titled “operation”string
Returns
Section titled “Returns”boolean
namespace?
Section titled “namespace?”
optionalnamespace?:string
Additional namespace included in every generated cache key.
operations?
Section titled “operations?”
optionaloperations?: readonlyCacheableFileSystemOperation[]
Read operations routed through the cache. Defaults to exists, readdir,
and stat.