Nar.dir: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/sha/nar.bend as Nar Lines 91-97 of ezx@1.11.0.0/src/sha/nar.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/sha/nar.bend&start_line=91&end_line=97 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # a directory's node as NAR writes it: its entries sorted by name, whatever # order they were listed in. `String.is_le` is codepoint order, which is nix's # byte order for the UTF-8 of valid names. Every directory the walk serializes # goes through here, so the order `find` printed its names in never reaches # the NAR. def dir(es: List<&2, K.Item>) -> String: directory(K.file.sort(es)) Uses (5): 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/pkg/pkg.bend&name=Item https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=file.sort https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/sha/nar.bend&name=directory