Dump.path: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/sha/dump.bend as Dump Lines 120-124 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=120&end_line=124 import Base import ezx@1.11.0.0/src/sha/nar.bend as Nar # the SRI narHash of a path, the same string `nix hash path --sri` prints def path(+work: String) -> IO(String): do IO: node : String <- dump(work) return Nar.sri(Nar.archive(node)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind 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=ezx@1.11.0.0/src/sha/dump.bend&name=dump https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/sha/nar.bend&name=archive https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/sha/nar.bend&name=sri