Dump.ent.other: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/sha/dump.bend as Dump Lines 53-67 of ezx@1.11.0.0/src/sha/dump.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/sha/dump.bend&start_line=53&end_line=67 import Base import ezx@1.11.0.0/src/sha/nar.bend as Nar # a path of the listing with what the NAR needs of it: a file's text read, a # symlink's target as the listing printed it def ent.other( known: Bool, +kind: String, +name: String, +at: String, +target: String, +path: String ) -> IO(Nar.Ent): match known: case True{}: IO.pure(Nar.Ent, Nar.Ent{kind, False{}, name, at, target}) case False{}: IO.die(Nar.Ent, 1, "ez: nar hash: " ++ path ++ ": not a file, directory, or symlink") Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.die https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/sha/nar.bend&name=Ent