Function playdate::fs::read_to_string
source · pub fn read_to_string<P>(
path: P,
data_dir: bool
) -> Result<String, Error<Error>>where
P: AsRef<str>,
Expand description
Read the entire contents of a file into a string.
Works similarly to [
std::fs::read_to_string
].