def here.of
import ezx@1.11.0.0/src/ws/root.bend as Rootimport Base
import ezx@1.11.0.0/src/ws/workspace.bend as W
34# where ez runs, from what `git rev-parse --show-prefix` printed: the
35# segments before the `/` it ends with, none at the top. Anything else is no
36# answer.
37def here.of(+prefix: String) -> Maybe<&2, List<&2, String>>:
38 W.cut(W.segs.of(prefix), "")