def tail.dep

ezx@1.11.0.0 · src/add/relock.bend:160

import ezx@1.11.0.0/src/add/relock.bend as Relock
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

160def tail.dep(+dep: M.Dep, +old: M.Dep) -> String:
161  "\nez: ez add wrote nothing, since it writes ez.toml and ez.lock.toml together" ++
162    moved.of(Bool.and(Bool.not(String.is_empty(M.dep.hash(old))),
163      Bool.not(String.eq(M.dep.hash(old), M.dep.hash(dep)))),
164      M.dep.name(dep), M.dep.hash(old), M.dep.hash(dep))

Uses (10)

Used by (1)