Skip to main content

detect_stored

Function detect_stored 

Source
pub async fn detect_stored(
    path: &Path,
    name: &str,
) -> Option<&'static CadFormat>
Expand description

Classifies a stored file: reads the first HEAD_LEN bytes of path (a missing or unreadable file is classified by its name only).