def tool.kept

ezx@1.11.0.0 · src/lock/up.bend:992

import ezx@1.11.0.0/src/lock/up.bend as Up
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

992# the pinned commit weighed again
993def tool.kept(wd: Wd, +rs: List<&2, Reply>, +tool: M.Tool, +tip: String, +tag: String) -> Pinned:
994  match wd:
995    case Wd{+nar}:
996      tool.kept.nar(String.is_empty(M.source.nar(M.tool.source(tool))), rs, tool, tip, tag, nar)
997    case WdWait{ask}:
998      PinWait{[ask]}
999    case WdNo{why}:
1000      PinHalt{why}

Uses (10)

Used by (1)