audit-files

Verifies integrity of files on disc.

Verifies the checksums of output files on disc against the in-memory manifest. Useful if you need to verify the integrity of file content before performing a deployment.

For each key in the manifest files map read the file from disc and verify it’s checksum against the manifest data.

Use this plugin when you need to verify files on disc before performing a deployment.

If no provider option has been specified this plugin does not execute.

AuditFiles.prototype.after(context)

Audits the files on disc against the in-memory manifest data.

Returns a promise that resolves when all files have been audited