def leaf.of

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

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

Uses (4)

Used by (1)