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

Function folderStatsCacheKey

public/js/folderManager.js:931–934  ·  view source on GitHub ↗
(folder, sourceId = '')

Source from the content-addressed store, hash-verified

929 setTimeout(() => { try { fn(); } catch (e) {} }, 120);
930}
931function folderStatsCacheKey(folder, sourceId = '') {
932 const sid = sourceId ? String(sourceId) : '';
933 return sid ? `${sid}::${folder}` : folder;
934}
935async function fetchFolderCounts(folder) {
936 const sourceId = getActiveSourceId();
937 const key = folderStatsCacheKey(folder, sourceId);

Callers 2

fetchFolderCountsFunction · 0.85
invalidateFolderCachesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected