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

Function getRootLabel

public/js/fileActions.js:179–183  ·  view source on GitHub ↗
(sourceId = '')

Source from the content-addressed store, hash-verified

177}
178
179function getRootLabel(sourceId = '') {
180 const id = sourceId || getActiveSourceId();
181 const name = getSourceNameById(id);
182 return name ? `(${name})` : '(Root)';
183}
184
185async function loadVisibleSources() {
186 if (__copyMoveSourcesCache) return __copyMoveSourcesCache;

Callers 1

Calls 2

getActiveSourceIdFunction · 0.70
getSourceNameByIdFunction · 0.70

Tested by

no test coverage detected