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

Function getPaneSourceId

public/js/fileListView.js:1801–1809  ·  view source on GitHub ↗
(pane)

Source from the content-addressed store, hash-verified

1799}
1800
1801function getPaneSourceId(pane) {
1802 try {
1803 const state = getPaneState(pane);
1804 if (state && state.sourceId) return state.sourceId;
1805 } catch (e) { /* ignore */ }
1806 const stored = readStoredPaneSource(pane);
1807 if (stored) return stored;
1808 return getGlobalActiveSourceId();
1809}
1810
1811function getActivePaneSourceId() {
1812 return getPaneSourceId(normalizePaneKey(window.activePane));

Callers 13

refreshSourceBadgesFunction · 0.85
getActivePaneSourceIdFunction · 0.85
savePaneStateFunction · 0.85
syncActiveSourceToPaneFunction · 0.85
setActivePaneFunction · 0.85
paneDropHandlerFunction · 0.85
setCurrentFolderContextFunction · 0.85
refreshCurrentFolderCapsFunction · 0.85
loadFileListFunction · 0.85

Calls 3

getPaneStateFunction · 0.85
readStoredPaneSourceFunction · 0.85
getGlobalActiveSourceIdFunction · 0.85

Tested by

no test coverage detected