Skip to main content

get

Function get 

Source
pub fn get(repo: &str) -> Option<Zeroizing<String>>
Expand description

Ask the agent for a passphrase. None covers every ordinary reason there is no answer — no agent, nothing stored, entry expired — because a caller looking for a passphrase should move on to the next source rather than fail.