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

Function initFileList

src/lib/fileList.js:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21};
22
23export function initFileList() {
24 if (editorManager?.activeFile.loading) {
25 editorManager.activeFile.on("loadend", initFileList);
26 return;
27 }
28 // editorManager.on('add-folder', onAddFolder);
29 editorManager.on("remove-folder", onRemoveFolder);
30 settings.on("update:excludeFolders:after", refresh);
31}
32
33/**
34 * Add a file to the list

Callers 1

main.jsFile · 0.90

Calls 1

onMethod · 0.45

Tested by

no test coverage detected