Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/markmap/markmap
/ sha256
Function
sha256
packages/markmap-cli/src/util/dev-server.ts:122–124 ·
view source on GitHub ↗
(input: string)
Source
from the content-addressed store, hash-verified
120
}
121
122
function
sha256(input: string) {
123
return
createHash(
'sha256'
).update(input,
'utf8'
).digest(
'hex'
).slice(0, 7);
124
}
125
126
async
function
sendStatic(c: Context, realpath: string) {
127
try {
Callers
1
addProvider
Method · 0.85
Calls
1
update
Method · 0.80
Tested by
no test coverage detected