MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / refresh

Method refresh

src/components/fileTree/index.js:332–336  ·  view source on GitHub ↗

* Refresh the current directory

()

Source from the content-addressed store, hash-verified

330 * Refresh the current directory
331 */
332 async refresh() {
333 if (this.currentUrl) {
334 await this.load(this.currentUrl);
335 }
336 }
337
338 /**
339 * Refresh a loaded folder in this tree or one of its expanded child trees.

Callers 7

refreshFolderMethod · 0.95
initMethod · 0.80
mountMethod · 0.80
updateFontSizeMethod · 0.80
createNewFunction · 0.80
updateActiveTerminalsFunction · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected