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

Method updateButtonText

src/main.ts:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 private updateButtonText() {
79 // Show "/" for root, otherwise folder path
80 const text = this.currentPath ? this.currentPath : "/";
81 this.folderBtn.setButtonText(text);
82 }
83
84 private submit(value: string) {
85 const fileName = value.trim();

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected