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

Function updateBreadcrumbTitle

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

Source from the content-addressed store, hash-verified

655 return frag;
656}
657export function updateBreadcrumbTitle(folder) {
658 const titleEl = document.getElementById("fileListTitle");
659 if (!titleEl) return;
660 titleEl.textContent = "";
661 titleEl.appendChild(document.createTextNode(t("files_in") + " ("));
662 titleEl.appendChild(renderBreadcrumbFragment(folder));
663 titleEl.appendChild(document.createTextNode(")"));
664 setupBreadcrumbDelegation();
665 bindFolderManagerContextMenu();
666 try {
667 if (typeof window.__frRefreshSourceBadges === 'function') {
668 window.__frRefreshSourceBadges();
669 }
670 } catch (e) { /* ignore */ }
671}
672export function setupBreadcrumbDelegation() {
673 const container = document.getElementById("fileListTitle");
674 if (!container) return;

Callers 5

setActivePaneFunction · 0.85
setCurrentFolderContextFunction · 0.85
loadFileListFunction · 0.85
selectFolderFunction · 0.85

Calls 4

tFunction · 0.85
renderBreadcrumbFragmentFunction · 0.85

Tested by

no test coverage detected