Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/markmap/markmap
/ update
Method
update
packages/markmap-cli/src/util/dev-server.ts:116–119 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
114
}
115
116
async
update() {
117
const
content =
await
readFile(this.filePath,
'utf8'
);
118
this.setContent(content);
119
}
120
}
121
122
function
sha256(input: string) {
Callers
2
constructor
Method · 0.95
sha256
Function · 0.80
Calls
1
setContent
Method · 0.80
Tested by
no test coverage detected