Add argument to calculate checksums

This commit is contained in:
2021-09-11 14:31:31 -04:00
parent 7267d4bd2c
commit c9aa4bed72
17 changed files with 80 additions and 22 deletions

View File

@@ -28,6 +28,8 @@ parse_job_t *create_fs_parse_job(const char *filepath, const struct stat *info,
job->vfile.close = fs_close;
job->vfile.fd = -1;
job->vfile.is_fs_file = TRUE;
job->vfile.has_checksum = FALSE;
job->vfile.calculate_checksum = ScanCtx.calculate_checksums;
return job;
}