MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / blobNamespace

Function blobNamespace

apps/cloud/scripts/migrate-specs-to-blobs.ts:97–97  ·  view source on GitHub ↗
(tenant: string, pluginId: string)

Source from the content-addressed store, hash-verified

95// `o:<tenant>/<pluginId>` and `makeR2BlobStore` joins `namespace/key`; the
96// FumaDB store keys rows by `JSON.stringify([namespace, key])`.
97const blobNamespace = (tenant: string, pluginId: string) => `o:${tenant}/${pluginId}`;
98const fumaBlobId = (namespace: string, key: string) => JSON.stringify([namespace, key]);
99
100// --- blob writers (verify-on-write: a pointer must never replace a spec the

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected