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

Function toggleFile

src/components/referencesPanel/index.js:145–152  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

143 }
144
145 function toggleFile(uri) {
146 if (state.collapsedFiles.has(uri)) {
147 state.collapsedFiles.delete(uri);
148 } else {
149 state.collapsedFiles.add(uri);
150 }
151 renderReferencesList();
152 }
153
154 function renderLoading() {
155 $content.innerHTML = "";

Callers

nothing calls this directly

Calls 3

renderReferencesListFunction · 0.85
addMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected