File.file.text_of: def of snap@1.4.0.0 Import: import snap@1.4.0.0/src/file.bend as File Lines 99-105 of snap@1.4.0.0/src/file.bend: https://jend.leeeet.dev/read.txt?path=snap@1.4.0.0/src/file.bend&start_line=99&end_line=105 import Base # a file's text, or "" when there is none def file.text_of(got: Maybe<&2, String>) -> String: match got: case None{}: "" case Some{s}: s Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String