file_exists

Function file_exists 

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

Checks if a file exists

§Arguments

  • path - Path to the file

§Returns

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