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

Method removeEntities

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

* Removes completely the entity stored locally from the database. * * It is no-op if entity is not present.

(keys: string[])

Source from the content-addressed store, hash-verified

99 * It is no-op if entity is not present.
100 */
101 removeEntities(keys: string[]): Promise<void>;
102}
103
104export type EntityResult<T> = { key: string; ok: true; value: T } | { key: string; ok: false; error: string };

Callers 11

setNodeUidsMethod · 0.65
setNodesStaleFromVolumeFunction · 0.65
removeCorruptedNodeFunction · 0.65
removeNodesFunction · 0.65
removeNodeKeysMethod · 0.65
removeVolumeMethod · 0.65
removeShareKeysMethod · 0.65
removeEntitiesMethod · 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