def listing.at
import ezx@1.11.0.0/src/ws/run.bend as Runimport Base
import snap@1.4.0.0/main.bend as Sn
import ezx@1.11.0.0/src/lock/world.bend as LW
367# every `.bend` file git tracks under a directory, with its text, each path
368# from it, as `ez lock` run there lists them
369def listing.at(+dir: String) -> IO(LW.Listing):
370 do IO<LW.Listing>:
371 +out : String <- Sn.exec(["git", "-C", dir, "-c", "core.quotepath=off", "ls-files", "--", "*.bend"])
372 listing.listed(Sn.ok(out), dir, Sn.text(out))