def deployed_steps

near-v-framework@0.4.0.0 · domain/architecture/system/effects.bend:409

import near-v-framework@0.4.0.0/domain/architecture/system/effects.bend as Effects
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as X
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/ops.bend as DO
import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P

409# What the deploy would break, against what this repository last deployed (recorded in .git, never committed).
410def deployed_steps(+root: String, +d: D.Deployment) -> IO(List<&2, P.Step>):
411  do IO<List<&2, P.Step>>:
412    +text : String <- X.read(deployed_path(root))
413    return breaks_step(DO.breaks(DO.recorded_address(text), DO.recorded_stores(text), d), d)

Uses (13)

Used by (1)