Add some debug output in StorageBackend::build_filepath_with_id()

This commit is contained in:
Matthias Beyer 2015-11-28 12:37:27 +01:00
parent 7531b5a6d7
commit 0d751f9ffd
1 changed files with 5 additions and 2 deletions

View File

@ -238,8 +238,11 @@ impl StorageBackend {
self.prefix_of_files_for_module(owner) + "-" + &id[..] + ".imag"
}
fn prefix_of_files_for_module(&self, m: &Module) -> String {
self.storepath.clone() + m.name()
fn build_filepath_with_id(&self, id: FileID) -> String {
debug!("Building filepath with id");
debug!(" basepath: '{}'", self.basepath);
debug!(" id : '{}'", id);
self.basepath.clone() + &id[..]
}
}