Key.reuse: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/key.bend as Key Lines 58-67 of ezx@1.11.0.0/src/ez/key.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/key.bend&start_line=58&end_line=67 import Base # the three fields the same, and a commit at all. An empty commit is a dirty # tree or a directory that is not a checkout, and those are built every time. def reuse(was: Stamp, now: Stamp) -> Bool: match was: case Stamp{+r0, +f0, +b0}: match now: case Stamp{+r1, +f1, +b1}: Bool.and(Bool.not(String.is_empty(r1)), Bool.and(String.eq(r0, r1), Bool.and(String.eq(f0, f1), String.eq(b0, b1)))) Uses (6): 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=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/key.bend&name=Stamp