def bare

ezx@1.11.0.0 · src/tool/plan.bend:813

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base

813# a directory with no trailing slash
814def bare(+dir: String) -> String:
815  Bool.pick(String, String.ends_with(dir, "/"),
816    String.take(dir, Nat.sub(String.length(dir), 1n)), dir)

Uses (6)

Used by (1)