Add fn StoreId::local_push() for altering the local part of a StoreId

This commit is contained in:
Matthias Beyer 2017-06-17 17:20:15 +02:00
parent bc95c5615d
commit 5b8c138922

View file

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