fs_err

Function read_to_string

source
pub fn read_to_string<P: AsRef<Path>>(path: P) -> Result<String>
Expand description

Read the entire contents of a file into a string.

Wrapper for fs::read_to_string.