Skip to main content

write_to_disk

Function write_to_disk 

Source
pub fn write_to_disk(cookie: &Cookie, dir: &Path) -> Result<()>
Expand description

Writes the given cookie to the given dir.

Uses restrictive file permissions (0600 on Unix) to prevent other local users from reading the cookie secret.