def safe

ezx@1.11.0.0 · src/add/plan.bend:523

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

523# a hash `rm -rf .ez/lib/<hash>` removes one tree for, as `ez remove` checks
524# it: a `0x` name with no path separator in it
525def safe(+hash: String) -> Bool:
526  Bool.and(String.starts_with(hash, "0x"), chars.ok(hash))

Uses (5)

Used by (1)