diff --git a/src/lib.rs b/src/lib.rs index beff8a8..180d0fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,20 +58,6 @@ pub mod config { Ok(serde_yml::from_str(&config_str)?) } - pub fn _print_sample() { - println!( - "{}", - serde_yml::to_string(&Config { - filesystem: vec![FileEntry { - path: "/etc/hostname".to_string(), - content: Some(FileContent::Data("foo".to_string())), - }], - ..Default::default() - }) - .unwrap() - ); - } - pub fn load_data(mut self) -> Result> { self.filesystem.iter_mut().for_each(|x| { if let Some(FileContent::Path(path)) = &x.content {