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

Function hasStoreInStorage

src/persisters/persister-partykit-server/index.ts:59–62  ·  view source on GitHub ↗
(
  storage: Storage,
  storagePrefix = EMPTY_STRING,
)

Source from the content-addressed store, hash-verified

57);
58
59export const hasStoreInStorage = async (
60 storage: Storage,
61 storagePrefix = EMPTY_STRING,
62): Promise<boolean> => !!(await storage.get<1>(storagePrefix + HAS_STORE));
63
64export const loadStoreFromStorage = async (
65 storage: Storage,

Callers 3

partykit.test.tsFile · 0.90
onRequestMethod · 0.85
onMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…