def get.file
import ezx@1.11.0.0/src/hub/get.bend as Getimport Base
import ezx@1.11.0.0/src/io/file.bend as F
import ezx@1.11.0.0/src/hub/hub.bend as Hub
29# a file url read off the disk
30def get.file(+path: String) -> IO(String):
31 do IO<String>:
32 m : Maybe<&2, String> <- F.read(path)
33 return Hub.get.file.got(m, path)