Rules.members: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules.bend as Rules Lines 147-155 of bolt@1.27.0.0/src/rules.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules.bend&start_line=147&end_line=155 import Base import bolt@1.27.0.0/src/rules/digest.bend as Digest # the files of one package, in order def members(ds: List<&2, Digest.Digest>, +roots: List<&2, String>, +pkg: String) -> List<&2, Digest.Digest>: match ds: case Nil{}: Nil{} case Con{Digest.Digest{path, norm, +dir, is_laws, is_law_file, exempt, tops, says, deps, laws}, rest}: +more = members(rest, roots, pkg) Bool.pick(List<&2, Digest.Digest>, String.eq(owner(roots, dir), pkg), Digest.Digest{path, norm, dir, is_laws, is_law_file, exempt, tops, says, deps, laws} <> more, more) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/digest.bend&name=Digest https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules.bend&name=owner