def under

ezx@1.11.0.0 · src/ws/doctor.bend:50

import ezx@1.11.0.0/src/ws/doctor.bend as Doctor
import Base

50# whether a path is under a directory of the root
51def under(+dir: String, +at: String) -> Bool:
52  String.starts_with(at, dir ++ "/")

Uses (4)

Used by (2)