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

Function getSourceNameById

public/js/folderManager.js:198–207  ·  view source on GitHub ↗
(sourceId)

Source from the content-addressed store, hash-verified

196}
197
198function getSourceNameById(sourceId) {
199 const id = String(sourceId || '').trim();
200 if (!id) return '';
201 try {
202 if (typeof window.__frGetSourceNameById === 'function') {
203 return String(window.__frGetSourceNameById(id) || '');
204 }
205 } catch (e) { /* ignore */ }
206 return '';
207}
208
209function getSourceTypeById(sourceId) {
210 const id = String(sourceId || '').trim();

Callers 2

getRootLabelFunction · 0.70
getRootCrumbLabelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected