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

Function getSourceMetaById

public/js/fileListView.js:1662–1667  ·  view source on GitHub ↗
(sourceId)

Source from the content-addressed store, hash-verified

1660}
1661
1662function getSourceMetaById(sourceId) {
1663 return {
1664 name: getSourceNameById(sourceId),
1665 type: getSourceTypeById(sourceId)
1666 };
1667}
1668
1669function getRootLabel(sourceId = '') {
1670 const id = sourceId || getGlobalActiveSourceId();

Callers 3

drawPageFunction · 0.70
setSourceBadgeFunction · 0.70

Calls 2

getSourceNameByIdFunction · 0.70
getSourceTypeByIdFunction · 0.70

Tested by

no test coverage detected