Function switchboard_solana::read_and_trim_file
pub fn read_and_trim_file(file_path: &str) -> Result<String, SbError>
Expand description
Read a file to a string and trim any leading or trailing whitespace.
pub fn read_and_trim_file(file_path: &str) -> Result<String, SbError>
Read a file to a string and trim any leading or trailing whitespace.