def safe
import ezx@1.11.0.0/src/add/plan.bend as Planimport 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))