diff options
author | jhspetersson <jhspetersson@gmail.com> | 2024-01-09 13:51:08 +0100 |
---|---|---|
committer | jhspetersson <jhspetersson@gmail.com> | 2024-01-09 13:51:08 +0100 |
commit | 6fb0fb592fc9bff464b830a45a2cdea7561c9c26 (patch) | |
tree | 4abac7f55a090c2856dc439fe5327c658cb58c63 | |
parent | ed44c490289d1b1149018fe1e01d58b32706a725 (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 66cf884..98e2f85 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -903,7 +903,7 @@ impl <'a> Searcher<'a> { Field::Device => { #[cfg(unix)] { - self.fms.update_file_metadata(entry); + self.fms.update_file_metadata(entry, self.current_follow_symlinks); 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.fms.update_file_metadata(entry); + self.fms.update_file_metadata(entry, self.current_follow_symlinks); 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.fms.update_file_metadata(entry); + self.fms.update_file_metadata(entry, self.current_follow_symlinks); 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.fms.update_file_metadata(entry); + self.fms.update_file_metadata(entry, self.current_follow_symlinks); if let Some(ref attrs) = self.fms.file_metadata { return Variant::from_int(attrs.nlink() as i64); |