Skip to main content

is_dotfile

Function is_dotfile 

Source
pub fn is_dotfile(path: &Path) -> bool
Expand description

Check if a path is a dotfile (starts with .)

§Arguments

  • path - Path to check

§Returns

True if the path represents a dotfile