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

Function getPersisted

src/persisters/persister-file/index.ts:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 onIgnoredError?: (error: any) => void,
25): FilePersister => {
26 const getPersisted = async (): Promise<
27 PersistedContent<PersistsType.StoreOrMergeableStore>
28 > => jsonParseWithUndefined(await readFile(filePath, UTF8));
29
30 const setPersisted = async (
31 getContent: () => PersistedContent<PersistsType.StoreOrMergeableStore>,

Callers

nothing calls this directly

Calls 1

jsonParseWithUndefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…