~/bend-docscommunity

src/remove/run.bend fails

raw source on the hub · import ezx@1.9.0.0/src/remove/run.bend as Run

remove/run: the interpreter for ez remove. It reads the directory it runs in, ez.toml, .gitignore and the .bend files git lists into a World, then loops: it asks the planner (remove/relock.bend) what the lock after the remove still needs, answers each question with the lock's interpreter (Run.answer.all), and adds the answers to the World, until nothing is left to ask. Then it runs the plan with the lock's effect runner (Run.exec.plan), which exits 1 with the reason when the plan refuses. It decides nothing; that it reads and executes faithfully is EZ-TRUST-2.

7 imports
import Base
import 0xead4c7939c9eaca8d47da53b4496b731/main.bend as R
import ../io/file.bend as F
import ../lock/run.bend as Run
import ../lock/world.bend as W
import ./plan.bend as RP
import ./relock.bend as RR