def file.of

ezx@1.11.0.0 · src/sha/dump.bend:47

import ezx@1.11.0.0/src/sha/dump.bend as Dump
import Base
import ezx@1.11.0.0/src/io/file.bend as F

47# a regular file's text, by its path from the top
48def file.of(+path: String) -> IO(String):
49  do IO<String>:
50    m : Maybe<&2, String> <- F.read(path)
51    file.got(m, path)

Uses (6)

Used by (1)