This commit is contained in:
Edgar 2022-01-06 10:49:37 +01:00
parent 34700ef3ce
commit f33cf4ca14
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85

View file

@ -72,7 +72,7 @@ let mut archive = tar::Archive::new(decoder);
for entry in archive.entries()? {
let entry = e.unwrap();
let path = entry.path().unwrap();
let filename = path.file_name().expect("be a file");
let filename = path.file_name().expect("exist");
// process each entry
}
```