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

Function createPersister

test/unit/synchronizers/synchronizer-ws-server.test.ts:432–436  ·  view source on GitHub ↗
(serverStore: MergeableStore, pathId: Id)

Source from the content-addressed store, hash-verified

430 });
431
432 const createPersister = (serverStore: MergeableStore, pathId: Id) =>
433 createFilePersister(
434 serverStore,
435 join(tmpDir, pathId.replaceAll('/', '-') + '.json'),
436 );
437
438 test('single client', async () => {
439 const serverStore = createMergeableStore('ss', getNow);

Callers 2

TestFunction · 0.85

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…