def name.file

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

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

589# a name as the pair the `[names]` table writes it as, which is the shape a
590# file of a package is written in: its `<name>@<version>` as a quoted key and
591# its hash as the value
592def name.file(name: Name) -> K.Item:
593  Name{nv, hash} = name
594  K.Item{nv, hash}

Uses (2)

Used by (1)