def one
import ezx@1.11.0.0/src/ws/workspace.bend as Workspaceimport Base
149# whether a path is exactly one segment
150def one(ds: List<&2, String>) -> Bool:
151 match ds:
152 case []:
153 False{}
154 case _hd <> tl:
155 List.is_empty(&2, String, tl)