def ver.from

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

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

639def ver.from(empty: Bool, had: Bool, +core: String, +pre: String) -> Ver:
640  match empty:
641    case True{}:
642      No{}
643    case False{}:
644      ver.nums(had, nums.of(String.split(core, '.')), pre)

Uses (7)

Used by (1)