def split1.step

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

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

587def split1.step(hit: Bool, ch: Char, +tail: String, rest: Unit -> Cut) -> Cut:
588  match hit:
589    case True{}:
590      Cut{"", tail}
591    case False{}:
592      split1.put(ch, rest(Unit{}))

Uses (6)

Used by (1)