def read_rows

cswap-bend-cli@0.1.0.0 · ustore.bend:100

import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/fs.bend as Fs

100# A missing, torn or other-version file reads as empty.
101def read_rows(+root: String) -> IO(Json.Json):
102  IO.bind(Fs.Res(String), Json.Json, Fs.read_file(usage_path(root)), r => IO.pure(Json.Json, rows.text(r)))

Uses (9)

Used by (1)