Skip to main content

classify

Function classify 

Source
pub fn classify(prompt: &str, hint: &str) -> PromptKind
Expand description

What kind of answer prompt wants. hint is ssh’s own SSH_ASKPASS_PROMPT (OpenSSH 8.4+): confirm is yes or no, none a notice; without it, a (yes/no in the text is yes or no and anything else secret.