def leaf
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
341# a file's or a symlink's node
342def leaf(entry: Ent) -> String:
343 Ent{+kind, ex, _name, _at, body} = entry
344 leaf.of(String.eq(kind, "l"), ex, body)
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
341# a file's or a symlink's node
342def leaf(entry: Ent) -> String:
343 Ent{+kind, ex, _name, _at, body} = entry
344 leaf.of(String.eq(kind, "l"), ex, body)