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

Function specBlobKey

packages/plugins/openapi/src/sdk/store.ts:95–95  ·  view source on GitHub ↗
(specHash: string)

Source from the content-addressed store, hash-verified

93/** Blob key for a spec's content hash. Content-addressed so re-puts are
94 * idempotent and identical specs share one blob per partition. */
95export const specBlobKey = (specHash: string): string => `spec/${specHash}`;
96
97/** Blob key for a spec's compiled `#/$defs/*` schemas, keyed by the same
98 * content hash as the spec. The serve path reads this instead of re-parsing

Callers 2

spec-blob.test.tsFile · 0.90
makeDefaultOpenapiStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected