MCPcopy 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
122function sha256(input: string) {
123 return createHash('sha256').update(input, 'utf8').digest('hex').slice(0, 7);
124}
125
126async function sendStatic(c: Context, realpath: string) {
127 try {

Callers 1

addProviderMethod · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected