MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / set

Method set

src/app/cache.ts:5–5  ·  view source on GitHub ↗
(key: string, value: T)

Source from the content-addressed store, hash-verified

3interface CacheStorage {
4 get<T>(key: string): Promise<T | undefined>;
5 set<T>(key: string, value: T): Promise<void>;
6 batchSet(data: { [key: string]: any }): Promise<void>;
7 has(key: string): Promise<boolean>;
8 del(key: string): Promise<void>;

Callers 15

downloadMethod · 0.65
createMethod · 0.65
requestMethod · 0.65
retryWithFreshTokenMethod · 0.65
ensureDirPathMethod · 0.65
requestMethod · 0.65
retryWithFreshTokenMethod · 0.65
getFileIdMethod · 0.65
requestMethod · 0.65
retryWithFreshTokenMethod · 0.65

Implementers 1

ExtCachesrc/app/cache.ts

Calls

no outgoing calls

Tested by 10

getDirectoryHandleFunction · 0.52
getFileHandleFunction · 0.52
createMockRepoFunction · 0.52
createMockFileHandleFunction · 0.52
createMockDirHandleFunction · 0.52
getDirectoryHandleFunction · 0.52
getFileHandleFunction · 0.52
createMockFileHandleFunction · 0.52
createMockDirHandleFunction · 0.52
navigateDirFunction · 0.52