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

Function getFileListCursorPageSize

public/js/fileListView.js:1927–1931  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1925}
1926
1927function getFileListCursorPageSize() {
1928 const raw = parseInt(window.itemsPerPage || localStorage.getItem('itemsPerPage') || '50', 10);
1929 const value = Number.isFinite(raw) ? raw : 50;
1930 return Math.max(FILE_LIST_CURSOR_PAGE_SIZE_MIN, Math.min(FILE_LIST_CURSOR_PAGE_SIZE_MAX, value));
1931}
1932
1933function getPaneFileListPaging(pane) {
1934 const state = getPaneState(pane);

Callers 4

buildFileListUrlFunction · 0.85
loadFileListFunction · 0.85
fileListView.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected