MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / labelOf

Function labelOf

e2e/viewer/src/App.tsx:375–379  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

373};
374
375const labelOf = (file: string): string =>
376 file
377 .replace(/\.png$/, "")
378 .replace(/^\d+-/, "")
379 .replace(/-/g, " ");

Callers 1

RunViewFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected