Skip to main content

read

Function read 

Source
pub fn read(path: &str) -> Result<Option<Vec<u8>>, FileError>
Expand description

Port of kubeconfig.Read. Returns Ok(None) when the file does not exist yet, matching Go’s nil, nil return.