def unv

ezx@1.11.0.0 · src/git/git.bend:610

import ezx@1.11.0.0/src/git/git.bend as Git
import Base

610# a tag with one leading `v` or `V` dropped
611def unv(text: String) -> String:
612  match text:
613    case SNil{}:
614      ""
615    case SCon{+h, t}:
616      unv.step(Bool.or(Char.is_eq(h, 'v'), Char.is_eq(h, 'V')), h, t)

Uses (5)

Used by (1)