def sync

ezx@1.11.0.0 · src/ledger/ignore.bend:390

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

390# the ignore file with the allowlist the ledger calls for. `ez add`,
391# `ez remove` and `ez lock --upgrade` write this when it differs from what
392# they read.
393def sync(ds: List<&2, M.Dep>, +text: String) -> String:
394  +was = file.lines(text)
395  +out = file.text(lines(ds, was))
396  text.out(String.eq(out, file.text(was)), text, out)

Uses (8)

Used by (4)