Joint.source.eq: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 159-187 of ezx@1.11.0.0/src/ws/joint.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/joint.bend&start_line=159&end_line=187 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # whether two sources are one def source.eq(aa: M.Source, bb: M.Source) -> Bool: match aa: case M.Hub{an}: match bb: case M.Hub{bn}: String.eq(an, bn) case M.Git{_u, _r, _t, _o, _n, _v}: False{} case M.Member{_p, _m}: False{} case M.Git{au, ar, at, ao, an, av}: match bb: case M.Hub{_bn}: False{} case M.Git{bu, br, bt, bo, bn, bv}: Bool.and(Bool.and(Bool.and(String.eq(au, bu), String.eq(ar, br)), Bool.and(String.eq(at, bt), String.eq(ao, bo))), Bool.and(String.eq(an, bn), bit.eq(av, bv))) case M.Member{_p, _m}: False{} case M.Member{ap, am}: match bb: case M.Hub{_bn}: False{} case M.Git{_u, _r, _t, _o, _n, _v}: False{} case M.Member{bp, bm}: Bool.and(String.eq(ap, bp), String.eq(am, bm)) 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=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=bit.eq