def hit
import ezx@1.11.0.0/src/ws/workspace.bend as Workspaceimport 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)