Add debug output to FileID::parse()

This commit is contained in:
Matthias Beyer 2015-12-28 17:33:54 +01:00
parent f24db1eb7d
commit 81ead3c68c

View file

@ -64,6 +64,7 @@ impl FileID {
debug!(" Hash: {:?}", hash); debug!(" Hash: {:?}", hash);
FileIDType::from_str(hashname).map(|idtype| { FileIDType::from_str(hashname).map(|idtype| {
debug!("ID type = {:?}", idtype);
Some(FileID { Some(FileID {
id: FileHash::from(hash), id: FileHash::from(hash),
id_type: idtype, id_type: idtype,