Merge pull request #707 from matthiasbeyer/libimagstore/remove-storeid-storified

Remove StoreId::storified()
This commit is contained in:
Matthias Beyer 2016-09-06 12:31:01 +02:00 committed by GitHub
commit aa7e050436

View file

@ -12,7 +12,6 @@ use libimagerror::into::IntoError;
use error::StoreErrorKind as SEK;
use error::MapErrInto;
use store::Result;
use store::Store;
/// The Index into the Store
#[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)]
@ -63,13 +62,6 @@ impl StoreId {
self
}
pub fn storified(self, store: &Store) -> StoreId {
StoreId {
base: Some(store.path().clone()),
id: self.id
}
}
pub fn exists(&self) -> bool {
let pb : PathBuf = self.clone().into();
pb.exists()