def file.text_of
import snap@1.5.0.0/src/file.bend as Fileimport Base
99# a file's text, or "" when there is none
100def file.text_of(got: Maybe<&2, String>) -> String:
101 match got:
102 case None{}:
103 ""
104 case Some{s}:
105 s