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

Function getRootCrumbLabel

public/js/fileListView.js:1675–1679  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

1673}
1674
1675function getRootCrumbLabel(sourceId = '') {
1676 const id = sourceId || getGlobalActiveSourceId();
1677 const name = getSourceNameById(id);
1678 return name || 'root';
1679}
1680
1681function getLastOpenedFolderKey(sourceId = '') {
1682 const id = String(sourceId || '').trim();

Callers 2

formatBreadcrumbTextFunction · 0.70

Calls 2

getGlobalActiveSourceIdFunction · 0.85
getSourceNameByIdFunction · 0.70

Tested by

no test coverage detected