directory_exists

Function directory_exists 

Source
pub fn directory_exists<P: AsRef<Path>>(path: P) -> bool
Expand description

Checks if a directory exists

§Arguments

  • path - Path to the directory

§Returns

  • true if the directory exists
  • false if the directory does not exist