Skip to main content

scan_step_files

Function scan_step_files 

Source
pub fn scan_step_files(repo: &Repository) -> Result<Vec<PathBuf>>
Expand description

Scan the working tree for STEP/STP files, returning their repo-relative paths.

The .cadvm directory is always skipped. Other dot-directories are also skipped (they are not expected to hold CAD sources and scanning them is surprising), but dot-files are still considered if they carry a tracked extension. Paths matching .cadvmignore are excluded.