Git.entry.sects: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/git/git.bend as Git Lines 286-293 of ezx@1.11.0.0/src/git/git.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/git/git.bend&start_line=286&end_line=293 import Base import ezx@1.11.0.0/src/toml/toml.bend as T import ezx@1.11.0.0/src/ledger/manifest.bend as M # a document that did not parse has no entry to take def entry.sects(ok: Bool, ss: List<&2, T.Sect>) -> String: match ok: case False{}: "main.bend" case True{}: +ps = M.pairs_of(ss, "package") entry.pick(M.value(ps, "entry"), M.value(ps, "bin")) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=entry.pick https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=pairs_of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=value https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=Sect