Skip to main content

store_file

Function store_file 

Source
pub fn store_file(
    dir: &Path,
    target: &str,
    cred: &CachedCred,
) -> Result<(), String>
Expand description

Write a credential to the file cache (creating the dir; the file is 0600).