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

Function getPaneListForKey

public/js/fileListView.js:2659–2665  ·  view source on GitHub ↗
(paneKey)

Source from the content-addressed store, hash-verified

2657}
2658
2659function getPaneListForKey(paneKey) {
2660 const pane = document.querySelector(
2661 paneKey === 'secondary' ? '.file-list-pane.secondary-pane' : '.file-list-pane.primary-pane'
2662 );
2663 if (!pane) return null;
2664 return pane.querySelector('#fileList, #fileListSecondary') || pane;
2665}
2666
2667function pruneMovedFilesFromInactivePane(sourceFolder, movedFiles, sourceId = '') {
2668 if (!window.dualPaneEnabled || !sourceFolder || !window.__frPaneState) return;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected