From ff5a4b46c7ef546a86eaa429bb39c59d8decfaff Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 8 Sep 2016 15:06:56 +0200 Subject: [PATCH] Remove StoreId::is_file() --- libimagstore/src/storeid.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index a5c2c11e..b2cfc121 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -75,10 +75,6 @@ impl StoreId { self.clone().into_pathbuf().map(|pb| pb.exists()).unwrap_or(false) } - pub fn is_file(&self) -> bool { - true - } - pub fn to_str(&self) -> Result { if self.base.is_some() { let mut base = self.base.as_ref().cloned().unwrap();