mirror of
https://github.com/jhspetersson/fselect.git
synced 2024-10-05 18:39:31 +03:00
fix build
This commit is contained in:
parent
ed44c49028
commit
6fb0fb592f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user