MCPcopy
hub / github.com/tinyplex/tinybase / getCheckpoints

Function getCheckpoints

src/ui-svelte/functions.svelte.ts:885–886  ·  view source on GitHub ↗
(id?: Id)

Source from the content-addressed store, hash-verified

883};
884
885export const getCheckpoints = (id?: Id): Checkpoints | undefined =>
886 getProvidedThing(id, OFFSET_CHECKPOINTS) as Checkpoints | undefined;
887
888export const getCheckpointsIds = (): {readonly current: Ids} => {
889 const contextValue = getContextValue();

Callers 5

createGoBackwardCallbackFunction · 0.70
createGoForwardCallbackFunction · 0.70
CheckpointsFunction · 0.50
getUseCheckpointViewFunction · 0.50
contentFunction · 0.50

Calls 1

getProvidedThingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…