Remove StoreId::storified()
This commit is contained in:
parent
737aab80dc
commit
d7447a64c8
1 changed files with 0 additions and 8 deletions
|
@ -9,7 +9,6 @@ use libimagerror::into::IntoError;
|
||||||
|
|
||||||
use error::StoreErrorKind as SEK;
|
use error::StoreErrorKind as SEK;
|
||||||
use store::Result;
|
use store::Result;
|
||||||
use store::Store;
|
|
||||||
|
|
||||||
/// The Index into the Store
|
/// The Index into the Store
|
||||||
#[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)]
|
#[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)]
|
||||||
|
@ -45,13 +44,6 @@ impl StoreId {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn storified(self, store: &Store) -> StoreId {
|
|
||||||
StoreId {
|
|
||||||
base: Some(store.path().clone()),
|
|
||||||
id: self.id
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn exists(&self) -> bool {
|
pub fn exists(&self) -> bool {
|
||||||
let pb : PathBuf = self.clone().into();
|
let pb : PathBuf = self.clone().into();
|
||||||
pb.exists()
|
pb.exists()
|
||||||
|
|
Loading…
Reference in a new issue