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

Function setPaneFileListPaging

public/js/fileListView.js:1939–1946  ·  view source on GitHub ↗
(pane, paging)

Source from the content-addressed store, hash-verified

1937}
1938
1939function setPaneFileListPaging(pane, paging) {
1940 const normalized = normalizePaneKey(pane);
1941 const next = (paging && paging.enabled) ? paging : null;
1942 savePaneState(normalized, { fileListPaging: next });
1943 if (normalized === normalizePaneKey(window.activePane)) {
1944 window.currentFileListPaging = next;
1945 }
1946}
1947
1948function shouldUseServerFilePagingForRequest(options = {}) {
1949 if (options && options.forceLegacy) {

Callers 2

loadFileListFunction · 0.85

Calls 2

normalizePaneKeyFunction · 0.85
savePaneStateFunction · 0.85

Tested by

no test coverage detected