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

Function objectName

packages/hosts/cloudflare/src/blob-store.ts:23–23  ·  view source on GitHub ↗
(namespace: string, key: string)

Source from the content-addressed store, hash-verified

21import { StorageError, type BlobStore } from "@executor-js/sdk";
22
23const objectName = (namespace: string, key: string): string => `${namespace}/${key}`;
24
25const storeError = (op: string) => (cause: unknown) =>
26 new StorageError({ message: `R2 blob ${op} failed`, cause });

Callers 1

makeR2BlobStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected