Remove StoreId::is_file()

This commit is contained in:
Matthias Beyer 2016-09-08 15:06:56 +02:00
parent 21714660df
commit ff5a4b46c7

View file

@ -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<String> {
if self.base.is_some() {
let mut base = self.base.as_ref().cloned().unwrap();