def missing.is

ezx@1.11.0.0 · src/ledger/manifest.bend:217

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import 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"))))

Uses (8)

Used by (1)