plinth/node/fs

Functions

pub fn read_file_sync(path: String) -> String

Returns the contents of the path as a string.

pub fn write_file_sync(path path: String, content content: String) -> Nil

Write a string to a file.

Search Document