Skip to main content

inspect

Function inspect 

Source
pub fn inspect(
    path: &Utf8Path,
) -> Result<OfflineArtifactInspection, OfflineArtifactError>
Expand description

Inspect one local artifact without trusting its extension or extracting it.

ยงErrors

Rejects unsafe paths, symlinks/reparse points, hard links, files larger than the fixed bound, or malformed and unsafe ZIP containers.