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

Function getPaneKeyForElement

public/js/fileListView.js:1815–1820  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

1813}
1814
1815function getPaneKeyForElement(el) {
1816 const pane = el && el.closest ? el.closest('.file-list-pane') : null;
1817 if (pane && pane.classList.contains('secondary-pane')) return 'secondary';
1818 if (pane && pane.classList.contains('primary-pane')) return 'primary';
1819 return normalizePaneKey(window.activePane);
1820}
1821
1822function getPaneSourceIdForElement(el) {
1823 return getPaneSourceId(getPaneKeyForElement(el));

Callers 4

injectInlineFolderRowsFunction · 0.85
renderFileTableFunction · 0.85
renderGalleryViewFunction · 0.85

Calls 1

normalizePaneKeyFunction · 0.85

Tested by

no test coverage detected