Skip to main content

scan_file

Function scan_file 

Source
pub async fn scan_file(
    path: &Path,
    own_name: &str,
    format: &str,
) -> Vec<FileRef>
Expand description

Reads a stored file and finds its references: NX parts through their stream directory and SOLIDWORKS 2015+ files through their sections (with seeks, so large files are read completely), everything else from its first MAX_SCAN bytes. The instance counts come from instance_counts for the file’s format.