MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / Storage

Interface Storage

static/local.ts:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27const prefix = options.localStoragePrefix ?? '';
28
29export interface Storage {
30 get<T>(key: string, ifNotPresent: T): string | T;
31
32 set(key: string, value: string): boolean;
33
34 remove(key: string): void;
35}
36
37class LocalOnlyStorage implements Storage {
38 get<T>(key: string, ifNotPresent: T): string | T {

Callers 24

fetch_infra_settingsFunction · 0.65
__call__Method · 0.65
mainFunction · 0.65
get_fileMethod · 0.65
get_groupMethod · 0.65
get_path_dirsFunction · 0.65
extract_versionMethod · 0.65
pushFunction · 0.65
addMethod · 0.65
updateStateMethod · 0.65
applyColoursFunction · 0.65

Implementers 2

LocalOnlyStoragestatic/local.ts

Calls

no outgoing calls

Tested by

no test coverage detected