TYTQGSKZTHRGBOD6HQGK3VWWPXYXT5JONXYOV65ZO4O3HT7MBUNQC
let change = libpijul::change::Change::deserialize(&ch, None)?;
let change = libpijul::change::Change::deserialize(&ch, None);
let change = match change {
Ok(change) => change,
Err(libpijul::change::ChangeError::Io(e)) => {
if let std::io::ErrorKind::NotFound = e.kind() {
let extra = if std::path::Path::new(&ch).is_relative() {
" Using the full path to the change file may help."
} else {
""
};
bail!("File {} not found, and not recognised as a prefix of a known change identifier.{}", ch, extra)
} else {
return Err(e.into())
}
}
Err(e) => return Err(e.into())
};