Interface: RemoteCache

Table of contents

Properties

Properties

retrieve

retrieve: (hash: string, cacheDirectory: string) => Promise<boolean>

Type declaration

▸ (hash, cacheDirectory): Promise<boolean>

Parameters
NameType
hashstring
cacheDirectorystring
Returns

Promise<boolean>


store

store: (hash: string, cacheDirectory: string) => Promise<boolean>

Type declaration

▸ (hash, cacheDirectory): Promise<boolean>

Parameters
NameType
hashstring
cacheDirectorystring
Returns

Promise<boolean>