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

Function hashSource

packages/core/integrations-registry/src/registry.ts:92–93  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

90};
91
92const hashSource = (source: string): string =>
93 createHash("sha256").update(source).digest("hex").slice(0, 12);
94
95const cacheFileFor = (cacheDir: string, source: string): string => {
96 const name =

Callers 1

cacheFileForFunction · 0.85

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected