def dir.ok

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

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

110# whether a directory is one a workspace can name: it has a segment, and
111# every segment is one a member's path can have
112def dir.ok(+ss: List<&2, String>) -> Bool:
113  Bool.and(Bool.not(List.is_empty(&2, String, ss)), segs.ok(ss))

Uses (7)

Used by (2)