Function firefly_rust::sudo::load_file_buf
source ยท pub fn load_file_buf(path: &str) -> Option<FileBuf>
Expand description
Like load_file
but takes care of the buffer allocation and ownership.
None
is returned if the file does not exist.