mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-03-31 21:25:28 +00:00
fix debug message
This commit is contained in:
parent
037a5bfe74
commit
77d0650aef
1 changed files with 2 additions and 1 deletions
|
|
@ -225,6 +225,7 @@ impl Nex {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn clean(&self, name: &str, ignore: HashSet<PathBuf>) -> Result<Clean> {
|
pub fn clean(&self, name: &str, ignore: HashSet<PathBuf>) -> Result<Clean> {
|
||||||
|
println!("\t\tcleanup...");
|
||||||
let mut r = Clean::default();
|
let mut r = Clean::default();
|
||||||
for entry in
|
for entry in
|
||||||
walkdir::WalkDir::new(PathBuf::from(self.users.get(name).unwrap())).follow_links(false)
|
walkdir::WalkDir::new(PathBuf::from(self.users.get(name).unwrap())).follow_links(false)
|
||||||
|
|
@ -232,7 +233,7 @@ impl Nex {
|
||||||
let e = entry?;
|
let e = entry?;
|
||||||
let p = e.path();
|
let p = e.path();
|
||||||
let s = p.to_string_lossy();
|
let s = p.to_string_lossy();
|
||||||
println!("check `{s}`...");
|
println!("\t\tcheck `{s}`...");
|
||||||
if ignore.contains(p) {
|
if ignore.contains(p) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue