MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / trailMeta

Function trailMeta

ui/src/lib/trails-model.ts:33–36  ·  view source on GitHub ↗
(trail: WireTrail)

Source from the content-addressed store, hash-verified

31 * line, so the two facts cannot be read as one.
32 */
33export function trailMeta(trail: WireTrail): string {
34 const hops = plural(trail.hops.length, 'hop');
35 return trail.author ? `${hops} · ${trail.author}` : hops;
36}
37
38/** The verdict a decayed hop carries, in the words a row uses. */
39export function hopStatusWord(status: WireTrailHopStatus): string {

Callers 1

Calls 1

pluralFunction · 0.90

Tested by

no test coverage detected