Merge pull request #725 from matthiasbeyer/libimagstore/storeid-remove-is-dir

Remove StoreId::is_dir()
This commit is contained in:
Matthias Beyer 2016-09-08 17:20:39 +02:00 committed by GitHub
commit e730699541

View file

@ -79,10 +79,6 @@ impl StoreId {
true true
} }
pub fn is_dir(&self) -> bool {
false
}
pub fn to_str(&self) -> Result<String> { pub fn to_str(&self) -> Result<String> {
if self.base.is_some() { if self.base.is_some() {
let mut base = self.base.as_ref().cloned().unwrap(); let mut base = self.base.as_ref().cloned().unwrap();