check_generated_file

Function check_generated_file 

Source
pub fn check_generated_file(path: &Path) -> Result<(), GeneratedFile>
Expand description

Check if a file is generated from another file.

§Arguments

  • path - Path to the file to check

§Errors

  • GeneratedFile - when a generated file is found