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

Function refreshFolderIcon

public/js/folderManager.js:1093–1097  ·  view source on GitHub ↗
(folder)

Source from the content-addressed store, hash-verified

1091 iconEl.innerHTML = folderSVG(kind, { locked: isLocked, encrypted: isEncrypted });
1092}
1093export function refreshFolderIcon(folder) {
1094 if (folder === 'recycle_bin') return;
1095 invalidateFolderCaches(folder);
1096 ensureFolderIcon(folder);
1097}
1098
1099export async function refreshFolderChildren(folder) {
1100 const target = folder || 'root';

Callers 13

scheduleUploadRefreshFunction · 0.85
refreshFileListFunction · 0.85
fileListView.jsFile · 0.85
paneDropHandlerFunction · 0.85
refreshFolderChildrenFunction · 0.85
syncTreeAfterFolderMoveFunction · 0.85
handleDropOnFolderFunction · 0.85
finalizeCryptoJobUiFunction · 0.85
renameFolderInlineFunction · 0.85
folderManager.jsFile · 0.85
afterTrashMutationFunction · 0.85
fileActions.jsFile · 0.85

Calls 2

invalidateFolderCachesFunction · 0.85
ensureFolderIconFunction · 0.85

Tested by

no test coverage detected