def leaf

ezx@1.11.0.0 · src/sha/nar.bend:341

import ezx@1.11.0.0/src/sha/nar.bend as Nar
import 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)

Uses (4)

Used by (2)