def leaf.of
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
334def leaf.of(link: Bool, ex: Bool, +body: String) -> String:
335 match link:
336 case True{}:
337 symlink(body)
338 case False{}:
339 regular(ex, body)
import ezx@1.11.0.0/src/sha/nar.bend as Narimport Base
334def leaf.of(link: Bool, ex: Bool, +body: String) -> String:
335 match link:
336 case True{}:
337 symlink(body)
338 case False{}:
339 regular(ex, body)