def spec.hash

ezx@1.11.0.0 · src/lock/lock.bend:44

import ezx@1.11.0.0/src/lock/lock.bend as Lock
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

44# the `0x` name an import carries, which is everything before its first `/`
45def spec.hash(spec: String) -> String:
46  K.word(String.split(spec, '/'), 0n)

Uses (4)

Used by (1)