Constructors
Parameters
__namedParameters: { check?: boolean; configuration: Configuration; immutable?: boolean }
Methods
- fetchPackageFromCache(locator: Locator, expectedChecksum: null | string, __namedParameters: { loader?: () => Promise<ZipFS>; onHit?: () => void; onMiss?: () => void } & CacheOptions): Promise<[FakeFS<PortablePath>, () => void, null | string]>
Parameters
expectedChecksum: null | string
__namedParameters: { loader?: () => Promise<ZipFS>; onHit?: () => void; onMiss?: () => void } & CacheOptions
Returns Promise<[FakeFS<PortablePath>, () => void, null | string]>
Parameters
expectedChecksum: null | string
- isChecksumCompatible(checksum: string): boolean
Parameters
Returns boolean
- find(configuration: Configuration, __namedParameters?: { check?: boolean; immutable?: boolean }): Promise<Cache>
Parameters
__namedParameters: { check?: boolean; immutable?: boolean } = {}
Returns Promise<Cache>
- getCacheKey(configuration: Configuration): { cacheKey: string; cacheSpec: string }
Parameters
Returns { cacheKey: string; cacheSpec: string }
cacheKey: string
cacheSpec: string