def read.listing

ezx@1.11.0.0 · src/lock/run.bend:91

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/lock/world.bend as W

91# every `.bend` file git tracks under the current directory, with its text.
92# Untracked files are not a clone's, so they are not the lock's.
93def read.listing() -> IO(W.Listing):
94  do IO<W.Listing>:
95    +out : String <- R.exec(["git", "-c", "core.quotepath=off", "ls-files",
96      "--", "*.bend"])
97    listed(R.ok(out), R.text(out))

Uses (9)

Used by (5)