Remove StoreId::storified()

This commit is contained in:
Matthias Beyer 2016-09-05 16:54:00 +02:00
parent 737aab80dc
commit d7447a64c8

View file

@ -9,7 +9,6 @@ use libimagerror::into::IntoError;
use error::StoreErrorKind as SEK;
use store::Result;
use store::Store;
/// The Index into the Store
#[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)]
@ -45,13 +44,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()