summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index e0b3758..d5ccb75 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -21,11 +21,13 @@ fn main() -> color_eyre::Result<()> {
21 let pkgs = pacman.get_installed(); 21 let pkgs = pacman.get_installed();
22 22
23 let backup = Backup::create(&cfg, pkgs)?; 23 let backup = Backup::create(&cfg, pkgs)?;
24 // println!("{backup:#?}"); 24 println!("{backup:#?}");
25 25
26 backup.save(&cfg)?; 26 // backup.save(&cfg)?;
27 27
28 Backup::get(&cfg, None)?; 28 let index = Backup::get_index(&cfg, None)?;
29
30 println!("{index:#?}");
29 31
30 // let fi = FileInfo::new("~/.config/nvim", &cfg)?; 32 // let fi = FileInfo::new("~/.config/nvim", &cfg)?;
31 // println!("{:?}", fi.get_absolute_path()); 33 // println!("{:?}", fi.get_absolute_path());