src/zip.js
function validateContentsZip(contentsZip) {
  return preprocessToRezip(contentsZip).then(
    ({ entries, manifestJson, manifestPath }) =>
      validateManifest(entries, manifestJson, manifestPath)
  );
}
function validateContentsZip(contentsZip) {
  return preprocessToRezip(contentsZip).then(
    ({ entries, manifestJson, manifestPath }) =>
      validateManifest(entries, manifestJson, manifestPath)
  );
}
function validateContentsZip ( contentsZip ) { return preprocessToRezip ( contentsZip ) . then ( ( { entries , manifestJson , manifestPath } ) => validateManifest ( entries , manifestJson , manifestPath ) ) ; }
Validate a buffer of contents.zip
@param {!Buffer} contentsZip
@return {!Promise<*>}
Validate a buffer of contents . zip