write

Function write 

Source
pub fn write(path: &Path, comment: &[u8], data: &[u8]) -> Result<()>
Expand description

Write a signify file.

Writes comment and base64-encoded data to path (or stdout if “-”).

§Errors

Returns Error::Io on file creation or write failure.