MCPcopy Index your code
hub / github.com/tinyplex/tinybase / put

Method put

test/unit/persisters/common/mocks.ts:803–807  ·  view source on GitHub ↗
(entries: Record<string, any>)

Source from the content-addressed store, hash-verified

801 }
802
803 async put(entries: Record<string, any>): Promise<void> {
804 for (const [key, value] of Object.entries(entries)) {
805 this.data.set(key, value);
806 }
807 }
808
809 async list<T>(options?: {prefix?: string}): Promise<Map<string, T>> {
810 const result = new Map<string, T>();

Callers 3

mocks.tsFile · 0.80
setPersistedFunction · 0.80
saveStoreFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected