MCPcopy Create free account
hub / github.com/error311/FileRise / refreshTreeForSource

Function refreshTreeForSource

public/js/fileListView.js:2066–2073  ·  view source on GitHub ↗
(folder, sourceId)

Source from the content-addressed store, hash-verified

2064}
2065
2066function refreshTreeForSource(folder, sourceId) {
2067 const nextId = sourceId || getGlobalActiveSourceId();
2068 if (!nextId) return;
2069 if (__frTreeSourceId === nextId) return;
2070 __frTreeSourceId = nextId;
2071 try { resetFolderTreeCaches(); } catch (e) { /* ignore */ }
2072 try { loadFolderTree(folder); } catch (e) { /* ignore */ }
2073}
2074
2075function setPaneHasContent(pane, hasContent) {
2076 const selector = normalizePaneKey(pane) === 'secondary'

Callers 2

setActivePaneFunction · 0.85
fileListView.jsFile · 0.85

Calls 3

getGlobalActiveSourceIdFunction · 0.85
resetFolderTreeCachesFunction · 0.85
loadFolderTreeFunction · 0.85

Tested by

no test coverage detected