Skip to main content

entry_is_file

Function entry_is_file 

Source
pub fn entry_is_file(entry: &DirEntry) -> bool
Expand description

Whether a read_dir entry is a regular file, without paying for a stat.

Same reasoning and symlink rule as entry_is_dir.