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

Function sha256Hex

apps/cloud/scripts/migrate-specs-to-blobs.ts:92–92  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

90const sql = postgres(connectionString, { max: 1, prepare: false, ssl: "require" });
91
92const sha256Hex = (text: string): string => createHash("sha256").update(text, "utf8").digest("hex");
93
94// Runtime object naming, byte-for-byte: `pluginBlobStore` namespaces by
95// `o:<tenant>/<pluginId>` and `makeR2BlobStore` joins `namespace/key`; the

Callers 2

putBlobR2Function · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected