Function firefly_rust::sudo::load_file

source ยท
pub fn load_file<'a>(path: &str, buf: &'a mut [u8]) -> File<'a>
Expand description

Read a file from the filesystem into the buffer.

The path must be relative to the root of the FS. For example: sys/launcher.