Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/redis/node-redis
/ scriptSha1
Function
scriptSha1
packages/client/lib/lua-script.ts:20–22 ·
view source on GitHub ↗
(script: RedisScriptConfig['SCRIPT'])
Source
from the content-addressed store, hash-verified
18
}
19
20
export
function
scriptSha1(script: RedisScriptConfig[
'SCRIPT'
]): string {
21
return
createHash(
'sha1'
).update(script).digest(
'hex'
);
22
}
Callers
2
SCRIPT_LOAD.spec.ts
File · 0.90
defineScript
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected