From d7447a64c8552d4e4b8a45132bfa00847b4a942c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 5 Sep 2016 16:54:00 +0200 Subject: [PATCH] Remove StoreId::storified() --- libimagstore/src/storeid.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index 4bb26bf6..2b235b94 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -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()