def sync.go

ezx@1.11.0.0 · src/tool/run.bend:357

import ezx@1.11.0.0/src/tool/run.bend as Run
import Base
import ezx@1.11.0.0/src/lock/run.bend as Run
import ezx@1.11.0.0/src/tool/world.bend as TW
import ezx@1.11.0.0/src/tool/plan.bend as TP

357# a sync's names installed in turn, none when it refuses, and then its end
358# (`TP.sync.outcome`)
359def sync.go(
360  +synced: TP.Sync,
361  +here: String,
362  +vars: TW.Env,
363  +bend: String,
364  +led: Maybe<&2, String>,
365  +lock: Maybe<&2, String>
366) -> IO(Unit):
367  do IO<Unit>:
368    sync.all(TP.sync.names(synced), here, vars, bend, led, lock)
369    Run.end(TP.sync.outcome(synced))

Uses (11)

Used by (1)