def missing.is
import ezx@1.11.0.0/src/ledger/manifest.bend as Manifestimport Base
import ezx@1.11.0.0/src/toml/toml.bend as T
217# a `[deps.<name>]` section is missing its hash when the key is absent
218def missing.is(sect: T.Sect) -> Bool:
219 T.Sect{n, +ps} = sect
220 Bool.and(String.starts_with(n, "deps."),
221 Bool.and(Bool.not(flag(value(ps, "workspace"))), String.is_empty(value(ps, "hash"))))