Skip to main content

write_api_token

Function write_api_token 

Source
pub fn write_api_token(paths: &BeamPaths, token: &str) -> Result<()>
Expand description

Atomically write the token (tmp + rename) with 0600 permissions on Unix.