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

Method get

src/app/cache.ts:4–4  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

2
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>;

Callers 15

gm_value_test.jsFile · 0.65
runFunction · 0.65
cancelMethod · 0.65
pauseMethod · 0.65
resumeMethod · 0.65
completeMethod · 0.65
interruptMethod · 0.65
NetDiskFunction · 0.65
ensureDirPathMethod · 0.65
getFileIdMethod · 0.65
onedrive.test.tsFile · 0.65

Implementers 1

ExtCachesrc/app/cache.ts

Calls

no outgoing calls

Tested by 14

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