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

Function getFolderTreeStateKey

public/js/folderManager.js:169–172  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

167}
168
169function getFolderTreeStateKey(sourceId = '') {
170 const id = String(sourceId || getActiveSourceId() || '').trim();
171 return id ? `folderTreeState.${id}` : 'folderTreeState';
172}
173
174function getLastOpenedFolderKey(sourceId = '') {
175 const id = String(sourceId || getActiveSourceId() || '').trim();

Callers 2

loadFolderTreeStateFunction · 0.85
saveFolderTreeStateFunction · 0.85

Calls 1

getActiveSourceIdFunction · 0.70

Tested by

no test coverage detected