MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / getViewData

Method getViewData

src/code_view.ts:1375–1377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1373 }
1374
1375 getViewData(): string {
1376 return this.editorView ? this.editorView.state.doc.toString() : this.data;
1377 }
1378
1379 setViewData(data: string, clear: boolean): void {
1380 // 先更新缓存

Callers 2

buildExpandedMarkdownFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected