pub async fn scan_file(
config: &ScannerConfig,
path: &Path,
size: u64,
) -> AppResult<Verdict>Expand description
Scans a file. Errors (daemon unreachable, timeout, an ERROR answer)
are returned as Unavailable: the caller refuses the upload.