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

Function formatLocationLabel

public/js/transferProgress.js:400–404  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

398}
399
400function formatLocationLabel(path) {
401 const raw = String(path || '').trim();
402 if (!raw || raw.toLowerCase() === 'root') return 'Root';
403 return raw;
404}
405
406function buildSub(job) {
407 if (job.subText) return job.subText;

Callers 1

buildSubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected