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

Function invalidateFolderStats

public/js/fileDragDrop.js:53–65  ·  view source on GitHub ↗
(folders, sourceId = '')

Source from the content-addressed store, hash-verified

51}
52
53function invalidateFolderStats(folders, sourceId = '') {
54 try {
55 const list = Array.isArray(folders) ? folders : [folders];
56 window.dispatchEvent(
57 new CustomEvent('folderStatsInvalidated', {
58 detail: { folders: list, sourceId }
59 })
60 );
61 } catch (e) {
62 // best-effort only; never break the move on this
63 console.warn('folderStatsInvalidated failed', e);
64 }
65}
66function scheduleBlankFolderIconRepair() {
67 try {
68 const kick = () => { try { repairBlankFolderIcons({ force: true }); } catch (e) {} };

Callers 1

folderDropHandlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected