fix build

This commit is contained in:
jhspetersson 2024-01-09 13:51:08 +01:00
parent ed44c49028
commit 6fb0fb592f

View File

@ -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);