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

Function readStoredPaneSource

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

Source from the content-addressed store, hash-verified

1768}
1769
1770function readStoredPaneSource(pane) {
1771 const key = PANE_SOURCE_STORAGE_KEYS[normalizePaneKey(pane)];
1772 if (!key) return "";
1773 try {
1774 return String(localStorage.getItem(key) || '').trim();
1775 } catch (e) {
1776 return "";
1777 }
1778}
1779
1780function persistPaneFolder(pane, folder, sourceId = '') {
1781 const key = PANE_FOLDER_STORAGE_KEYS[normalizePaneKey(pane)];

Callers 5

getPaneSourceIdFunction · 0.85
fileListView.jsFile · 0.85
ensurePaneStateFunction · 0.85
maybeRestoreInactivePaneFunction · 0.85

Calls 1

normalizePaneKeyFunction · 0.85

Tested by

no test coverage detected