Extract out history parts.

This commit is contained in:
Andrés N. Robalino
2020-08-27 06:06:25 -05:00
parent 4724b3c570
commit 26cec83b63
7 changed files with 56 additions and 44 deletions

View File

@@ -30,6 +30,10 @@ impl EnvironmentSyncer {
self.config = Arc::new(config);
}
pub fn get_config(&self) -> Box<dyn Conf> {
self.config.clone().clone_box()
}
pub fn load_environment(&mut self) {
let config = self.config.clone();