def hit

ezx@1.11.0.0 · src/ws/workspace.bend:171

import ezx@1.11.0.0/src/ws/workspace.bend as Workspace
import Base

171# whether an entry names a directory
172def hit(entry: Entry, +ds: List<&2, String>) -> Bool:
173  match entry:
174    case Plain{ps}:
175      segs.eq(ps, ds)
176    case Under{ps}:
177      under(ps, ds)

Uses (6)

Used by (1)