def under
import ezx@1.11.0.0/src/ws/doctor.bend as Doctorimport 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 ++ "/")
import ezx@1.11.0.0/src/ws/doctor.bend as Doctorimport 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 ++ "/")