MCPcopy Create free account
hub / github.com/Effect-TS/effect / renderName

Function renderName

packages/effect/src/Metric.ts:3073–3073  ·  view source on GitHub ↗
(metric: Metric.Snapshot, padTo: number)

Source from the content-addressed store, hash-verified

3071}
3072
3073const renderName = (metric: Metric.Snapshot, padTo: number): string => `name=${metric.id.padEnd(padTo, " ")}`
3074
3075const renderDescription = (metric: Metric.Snapshot, padTo: number): string =>
3076 `description=${(metric.description ?? "").padEnd(padTo, " ")}`

Callers 1

Metric.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected