Skip to main content

write_handoff

Function write_handoff 

Source
pub fn write_handoff(
    path: &Path,
    api: &str,
    secret: &str,
    acl: Option<&Path>,
    accounts: Option<&Path>,
) -> Result<()>
Expand description

Writes a Handoff file, readable only by the user that wrote it.

ยงErrors

Any I/O error creating, writing or chmod-ing the file.