pub fn metadata(&self) -> Result<fs::Metadata> {
        if self.follow_link {
            fs::metadata(&self.path)
        } else {
            fs::symlink_metadata(&self.path)
        }.map_err(|err| Error::from_entry(self, err))
    }
/// Return the metadata for the file that this entry points to.
///
/// This will follow symbolic links if and only if the `WalkDir` value
/// has `follow_links` enabled.
///
/// # Platform behavior
///
/// This always calls `std::fs::symlink_metadata`.
///
/// If this entry is a symbolic link and `follow_links` is enabled, then
/// `std::fs::metadata` is called instead.
Return the metadata for the file that this entry points to.
This will follow symbolic links if and only if the `WalkDir` value
has `follow_links` enabled.
Return the metadata for the file that this entry points to . This will follow symbolic links if and only if the ` WalkDir ` value has ` follow_links ` enabled .
pub fn metadata(&self) -> Result<fs::Metadata> {
        if self.follow_link {
            fs::metadata(&self.path)
        } else {
            fs::symlink_metadata(&self.path)
        }.map_err(|err| Error::from_entry(self, err))
    }
pub fn metadata ( & self ) -> Result < fs :: Metadata > { if self . follow_link { fs :: metadata ( & self . path ) } else { fs :: symlink_metadata ( & self . path ) } . map_err ( | err | Error :: from_entry ( self , err ) ) }
Return the metadata for the file that this entry points to.
Return the metadata for the file that this entry points to .
&self
&self
platform behavior
This always calls `std::fs::symlink_metadata`.

If this entry is a symbolic link and `follow_links` is enabled, then
`std::fs::metadata` is called instead.
This always calls ` std :: fs :: symlink_metadata ` . If this entry is a symbolic link and ` follow_links ` is enabled then ` std :: fs :: metadata ` is called instead .