diff options
author | jhspetersson <jhspetersson@gmail.com> | 2024-01-09 13:32:50 +0100 |
---|---|---|
committer | jhspetersson <jhspetersson@gmail.com> | 2024-01-09 13:32:50 +0100 |
commit | ed44c490289d1b1149018fe1e01d58b32706a725 (patch) | |
tree | 8ac66f73356db40a5e9cbcd2cde9675bf8ef1abc | |
parent | eff876c567d0c54d6920484f1c51f6cd654e67d1 (diff) |
fix build
-rw-r--r-- | src/searcher.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/searcher.rs b/src/searcher.rs index cc616d1..66cf884 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -903,7 +903,7 @@ impl <'a> Searcher<'a> { Field::Device => { #[cfg(unix)] { - self.update_file_metadata(entry); + self.fms.update_file_metadata(entry); if let Some(ref attrs) = self.fms.file_metadata { return Variant::from_int(attrs.dev() as i64); @@ -915,7 +915,7 @@ impl <'a> Searcher<'a> { Field::Inode => { #[cfg(unix)] { - self.update_file_metadata(entry); + self.fms.update_file_metadata(entry); if let Some(ref attrs) = self.fms.file_metadata { return Variant::from_int(attrs.ino() as i64); @@ -927,7 +927,7 @@ impl <'a> Searcher<'a> { Field::Blocks => { #[cfg(unix)] { - self.update_file_metadata(entry); + self.fms.update_file_metadata(entry); if let Some(ref attrs) = self.fms.file_metadata { return Variant::from_int(attrs.blocks() as i64); @@ -939,7 +939,7 @@ impl <'a> Searcher<'a> { Field::Hardlinks => { #[cfg(unix)] { - self.update_file_metadata(entry); + self.fms.update_file_metadata(entry); if let Some(ref attrs) = self.fms.file_metadata { return Variant::from_int(attrs.nlink() as i64); |