MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / clear

Method clear

client/js/src/cache/interface.ts:23–23  ·  view source on GitHub ↗

* Re-creates the whole persistent cache. * * The SDK can call this when there is some inconsistency and it is better * to start from scratch rather than fix it.

()

Source from the content-addressed store, hash-verified

21 * to start from scratch rather than fix it.
22 */
23 clear(): Promise<void>;
24
25 /**
26 * Adds or updates entity in the local database.

Callers 5

clearMethod · 0.65
debouncer.test.tsFile · 0.65
startMethod · 0.65

Implementers 4

NullCacheclient/js/src/cache/nullCache.ts
MemoryCacheclient/js/src/cache/memoryCache.ts
SQLiteCachecli/src/cache/sqliteCache.ts
DriveCryptoCacheAdaptercli/src/cache/driveCryptoCacheAdapter.

Calls

no outgoing calls

Tested by

no test coverage detected