MCPcopy 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
122function sha256(input: string) {

Callers 2

constructorMethod · 0.95
sha256Function · 0.80

Calls 1

setContentMethod · 0.80

Tested by

no test coverage detected