Skip to main content

file_read_string

Function file_read_string 

Source
pub fn file_read_string(path: &str) -> Result<AzString, FileError>
Expand description

Read a file to string (UTF-8)

§Arguments

  • path - Path to the file

§Returns

  • Result<AzString, FileError> - File contents or error