Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
92
const
hashSource = (source: string): string =>
93
createHash(
"sha256"
).update(source).digest(
"hex"
).slice(0, 12);
94
95
const
cacheFileFor = (cacheDir: string, source: string): string => {
96
const
name =
Callers
1
cacheFileFor
Function · 0.85
Calls
1
update
Method · 0.65
Tested by
no test coverage detected