Skip to main content

read_to_string

Function read_to_string 

Source
pub fn read_to_string(
    grant: &ExternalCredentialReadGrant,
) -> Result<Option<String>>
Expand description

Open and read the exact granted file once. Missing files are reported as Ok(None); every other unsafe or malformed filesystem shape fails closed.