Skip to main content

ensure_clean

Function ensure_clean 

Source
pub async fn ensure_clean(
    config: &ScannerConfig,
    path: &Path,
    size: u64,
) -> AppResult<()>
Expand description

Scans a file about to enter the vault and refuses infected content (400).