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

Function buildTitle

public/js/transferProgress.js:392–398  ·  view source on GitHub ↗
(job)

Source from the content-addressed store, hash-verified

390}
391
392function buildTitle(job) {
393 if (job.title) return job.title;
394 const action = job.action || 'Transferring';
395 const count = Number(job.itemCount || 0);
396 const label = job.itemLabel || 'items';
397 return count ? `${action} ${count} ${label}` : action;
398}
399
400function formatLocationLabel(path) {
401 const raw = String(path || '').trim();

Callers 1

renderJobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected