Garden 🌻

__fs.gdn::read_file()

Read the contents of file path as a string.

Example
import "__fs.gdn" as fs
fs::read_file(Path{ p: "/tmp/foo.txt" })
Source Code
public fun read_file(path: Path): Result<String, String> {
  __BUILT_IN_IMPLEMENTATION
}