Add Store::load_in_cache(... FileID)

This commit is contained in:
Matthias Beyer 2015-12-28 13:25:09 +01:00
parent 7170f95825
commit bd9abf3bc7

View file

@ -48,7 +48,6 @@ impl Store {
{
let idstr : String = id.clone().into();
let path = format!("{}/{}-{}.imag", self.storepath, m.name(), idstr);
debug!("Loading path = '{}'", path);
let mut string = String::new();
FSFile::open(&path).map(|mut file| {