Skip to main content

entry_is_dir

Function entry_is_dir 

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

Resolve whether entry is a directory, following symlinks.

Returns false if file_type() errors — the caller then skips the entry rather than aborting the walk.