File System Library (fs)
File System Library ("system" feature)
fs.read(path: str) -> blob
const bytes = fs.read("src/lib.rs");fs.read_string(path: str) -> str
const content = fs.read_string("src/lib.rs");fs.write(path: str, content: str | blob) -> void
fs.write("src/text.txt", "testing");Last updated