Skip to main content

add_trusted

Function add_trusted 

Source
pub fn add_trusted(root: &Path, key: &PublicKey) -> Result<PathBuf>
Expand description

Trusts key for the cache at root: writes <root>/trust/<id>.pub atomically, and returns its path.

ยงErrors

I/O errors.