class Berkshelf::Berksfile

def verify

This function will return true or raise the first errors encountered.

with the Lockfile of this Berksfile.
Perform a validation with `Validator#validate` on each cached cookbook associated
def verify
  validate_lockfile_present!
  validate_lockfile_trusted!
  Berkshelf.formatter.msg "Verifying (#{lockfile.cached.length}) cookbook(s)..."
  Validator.validate(lockfile.cached)
  true
end