def sync.pinned

ezx@1.11.0.0 · src/tool/plan.bend:1113

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/git/git.bend as Git

1113# whether the lock pins a tool at a commit
1114def sync.pinned(+tool: M.Tool) -> Bool:
1115  Bool.and(Bool.not(String.is_empty(M.tool.name(tool))),
1116    Git.is_rev(M.source.rev(M.tool.source(tool))))

Uses (9)

Used by (1)