MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / set

Method set

packages/utilities/src/storage.ts:47–50  ·  view source on GitHub ↗
(key: string, input: string | object)

Source from the content-addressed store, hash-verified

45 return this.cache[key];
46 }
47 set(key: string, input: string | object) {
48 this.cache[key] = input;
49 return input;
50 }
51 remove(key: string) {
52 delete this.cache[key];
53 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected