Skip to main content

pick_file

Function pick_file 

Source
pub fn pick_file<'a>(
    files: &'a [FileRecord],
    filename: Option<&str>,
) -> AppResult<Option<(&'a FileRecord, PreviewFormat)>>
Expand description

The file a revision is compared by: filename if given, else its STEP model, else its first mesh.