function hashFile()

in src/custom-layer/custom-layer.ts [22:27]


function hashFile(fileName: string) {
  return crypto
    .createHash('sha256')
    .update(fs.readFileSync(fileName))
    .digest('hex');
}