checkIntegrity(callback) {
		checksum.file(this.path(), (err, hash) => {
			if (err) {
				callback(new error.IntegrityMissingError(err));
			}
			else if (hash != this.__hash) {
				callback(new error.IntegrityCorruptedError());
			}
			else
				callback(undefined);
		});
	}
/**
	 * Check the integrity of the asset file
	 *
	 * @param {Function} callback (error)
	 */
Check the integrity of the asset file
@param {Function} callback (error)
Check the integrity of the asset file @param { Function } callback ( error )
checkIntegrity(callback) {
		checksum.file(this.path(), (err, hash) => {
			if (err) {
				callback(new error.IntegrityMissingError(err));
			}
			else if (hash != this.__hash) {
				callback(new error.IntegrityCorruptedError());
			}
			else
				callback(undefined);
		});
	}
checkIntegrity ( callback ) { checksum . file ( this . path ( ) , ( err , hash ) => { if ( err ) { callback ( new error . IntegrityMissingError ( err ) ) ; } else if ( hash != this . __hash ) { callback ( new error . IntegrityCorruptedError ( ) ) ; } else callback ( undefined ) ; } ) ; }
Check the integrity of the asset file
 @param {Function} callback (error)
Check the integrity of the asset file @param { Function } callback ( error )