type Src
import ezx@1.11.0.0/src/lock/lock.bend as Lockimport Base
19# where a package's bytes come from. A hub package needs nothing else; a git
20# one pins a commit, the entry its hash was computed from, the directory inside
21# the checkout its paths are written from, and the NAR hash nix rebuilds it by.
22# A workspace member's (EZ-WS-5) is the committed tree: the directory, from
23# the workspace root, its paths are written from, and its entry there.
24type Src is Data:
25 Hub{}
26 Git{url: String, rev: String, entry: String, root: String, nar: String, tag: String}
27 Member{path: String, entry: String}