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

Function stripV

src/upgrade/index.ts:200–203  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

198
199/** Strip a leading `v`: `v0.9.9` → `0.9.9`. */
200export function stripV(v: string): string {
201 const t = v.trim();
202 return t.startsWith('v') ? t.slice(1) : t;
203}
204
205/**
206 * Parse the release tag out of the `Location` header GitHub returns for

Callers 2

upgrade.test.tsFile · 0.90
runUpgradeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected