Lock.src.member: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 220-226 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=220&end_line=226 import Base import ezx@1.11.0.0/src/toml/toml.bend as T # a member's origin keeps its directory and entry; anything else is the hub def src.member(member: Bool, +ps: List<&2, T.Kv>) -> Src: match member: case True{}: Member{T.value(ps, "path"), T.value(ps, "entry")} case False{}: Hub{} Uses (5): 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=ezx@1.11.0.0/src/lock/lock.bend&name=Src https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=Kv https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=value