feat:update xattr-rs

This commit is contained in:
2025-01-18 14:41:50 +08:00
parent d20f13c06b
commit 968309fff5
3 changed files with 5 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ fn main() {
failure!("Error read file: {filename}, error: {e}");
}
Ok(xattrs) => {
println!("File: {filename}");
for (_, xattr) in xattrs.enumerate() {
let clone_xattr = xattr.clone();
let xattr_name = match clone_xattr.to_str() {