summaryrefslogtreecommitdiffstats
path: root/libimagstore
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-09-05 16:54:00 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-09-06 09:37:25 +0200
commitd7447a64c8552d4e4b8a45132bfa00847b4a942c (patch)
tree8029b177e33f43933115b7f54cfc7edd97340348 /libimagstore
parent737aab80dc029315d412ff781f20e9afd8db55ae (diff)
Remove StoreId::storified()
Diffstat (limited to 'libimagstore')
-rw-r--r--libimagstore/src/storeid.rs8
1 files changed, 0 insertions, 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()