def answer.sources
import ezx@1.11.0.0/src/lock/run.bend as Runimport Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/lock/up.bend as Up
425# every Bend source of the project. Vendored trees and the gate's shadow live
426# under .ez, and a checkout's .git is not source, so neither is rewritten.
427def answer.sources() -> IO(Up.Answer):
428 do IO<Up.Answer>:
429 +out : String <- R.exec(["find", ".", "-name", "*.bend",
430 "-not", "-path", "*/.ez/*", "-not", "-path", "*/.git/*"])
431 found.listed(R.ok(out), R.text(out))