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

Method configuration

src/lib/FileSystemStorage.ts:154–163  ·  view source on GitHub ↗
(object?: Record<string, unknown> | null)

Source from the content-addressed store, hash-verified

152 }
153
154 configuration(object?: Record<string, unknown> | null): Record<string, unknown> | undefined {
155 if (object) {
156 Object.assign(this._config, object);
157 return this._config;
158 }
159 if (object === null) {
160 return undefined;
161 }
162 return this._config;
163 }
164
165 async rename(_name: string): Promise<void> {
166 // Not applicable for filesystem storage

Callers 1

setupStorageFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected