lib/deployer.js
function _checksums(dir) {
  const checksums = {};

  glob.sync(resolve(dir, '**/!(*.pack.+(s[ac]ss|js))'), { mark: true }).forEach((file) => {
    if (Utils.endsWith(file, '/')) { return; }

    const relativePath = relative(dir, file);
    checksums[relativePath] = Utils.checksum(file);
  });

  return checksums;
}
function _checksums(dir) {
  const checksums = {};

  glob.sync(resolve(dir, '**/!(*.pack.+(s[ac]ss|js))'), { mark: true }).forEach((file) => {
    if (Utils.endsWith(file, '/')) { return; }

    const relativePath = relative(dir, file);
    checksums[relativePath] = Utils.checksum(file);
  });

  return checksums;
}
function _checksums ( dir ) { const checksums = { } ; glob . sync ( resolve ( dir , '**/!(*.pack.+(s[ac]ss|js))' ) , { mark : true } ) . forEach ( ( file ) => { if ( Utils . endsWith ( file , '/' ) ) { return ; } const relativePath = relative ( dir , file ) ; checksums [ relativePath ] = Utils . checksum ( file ) ; } ) ; return checksums ; }
Generates a legend of file paths to checksums

@param {string} dir
@return {Object}
Generates a legend of file paths to checksums