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

Method remove

src/lib/FileSystemStorage.ts:107–112  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

105 }
106
107 async remove(key: string): Promise<void> {
108 await this.sendRequest('monogatari:storage-remove', { key });
109 for (const cb of this._callbacks.delete) {
110 cb(key, undefined);
111 }
112 }
113
114 async getAll(): Promise<Record<string, unknown>> {
115 const raw = await this.sendRequest('monogatari:storage-get-all', {}) as Record<string, unknown>;

Callers

nothing calls this directly

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected