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

Function getRootCrumbLabel

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

Source from the content-addressed store, hash-verified

262}
263
264function getRootCrumbLabel(sourceId = '') {
265 const id = sourceId || getActiveSourceId();
266 const name = getSourceNameById(id);
267 return name || 'root';
268}
269
270async function loadVisibleSourcesForMove() {
271 if (__moveFolderSourcesCache) return __moveFolderSourcesCache;

Callers 1

renderBreadcrumbFragmentFunction · 0.70

Calls 2

getActiveSourceIdFunction · 0.70
getSourceNameByIdFunction · 0.70

Tested by

no test coverage detected