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

Function resetPagingForFolderNavigation

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

Source from the content-addressed store, hash-verified

3030}
3031
3032function resetPagingForFolderNavigation(pane) {
3033 const paneKey = normalizePaneKey(pane || window.activePane);
3034 savePaneState(paneKey, { currentPage: 1 });
3035 setPaneFileListPaging(paneKey, null);
3036 if (paneKey === normalizePaneKey(window.activePane)) {
3037 window.currentPage = 1;
3038 }
3039}
3040
3041function setCurrentFolderContext(folder, opts = {}) {
3042 if (!folder) return;

Callers 3

setCurrentFolderContextFunction · 0.85
navigateToSearchResultFunction · 0.85
loadFileListFunction · 0.85

Calls 3

normalizePaneKeyFunction · 0.85
savePaneStateFunction · 0.85
setPaneFileListPagingFunction · 0.85

Tested by

no test coverage detected