SW5Z7UCNVHQNRXLVZQQMNJRQGQ2QBHYCTLPXU7GELNURZRYDZOMQC
"identityfile" => config.identity_file = Some(value.trim_start().to_string()),
"identityfile" => {
let id = value.trim_start();
if id.starts_with("~/") {
if let Some(mut home) = dirs_next::home_dir() {
home.push(id.split_at(2).1);
config.identity_file = Some(home.to_str().unwrap().to_string());
} else {
return Err(Error::NoHome);
}
} else {
config.identity_file = Some(id.to_string())
}
}