MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / key

Method key

src/lib/FileSystemStorage.ts:136–139  ·  view source on GitHub ↗
(index: number, _full?: boolean)

Source from the content-addressed store, hash-verified

134 }
135
136 async key(index: number, _full?: boolean): Promise<string> {
137 const allKeys = await this.keys(_full);
138 return allKeys[index] ?? '';
139 }
140
141 async keys(_full?: boolean): Promise<string[]> {
142 return await this.sendRequest('monogatari:storage-keys', {}) as string[];

Callers

nothing calls this directly

Calls 1

keysMethod · 0.95

Tested by

no test coverage detected