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

Function getPersisted

src/synchronizers/index.ts:226–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224 }, onIgnoredError);
225
226 const getPersisted = async (): Promise<MergeableContent | undefined> => {
227 const changes = (await getChangesFromOtherStore()) as any;
228 return changes && (!objIsEmpty(changes[0][0]) || !objIsEmpty(changes[1][0]))
229 ? changes
230 : undefined;
231 };
232
233 const setPersisted = async (
234 _getContent: () => MergeableContent,

Callers

nothing calls this directly

Calls 2

objIsEmptyFunction · 0.90
getChangesFromOtherStoreFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…