Merge pull request #971 from matthiasbeyer/libimagstore/storeid-local-part-altering

Add fn StoreId::local_push() for altering the local part of a StoreId
This commit is contained in:
Matthias Beyer 2017-06-17 21:14:44 +02:00 committed by GitHub
commit f487550f81

View file

@ -123,6 +123,10 @@ impl StoreId {
&self.id &self.id
} }
pub fn local_push<P: AsRef<Path>>(&mut self, path: P) {
self.id.push(path)
}
} }
impl Display for StoreId { impl Display for StoreId {