Module: Amp::Repositories::Verification
- Included in:
- LocalRepository
- Defined in:
- lib/amp/repository/verification.rb
Overview
This module adds verification to Mercurial repositories.
The main public method provided is #verify. The rest are support methods that will keep to themselves.
This is directly ported from verify.py from the Mercurial source. This is for the simple reason that, because we are re-implementing Mercurial, we should rely on their verification over our own. If we discover bugs in their verification, we’ll patch them and send in the patches to selenic, but for now, we’ll trust that theirs is on the money.
Defined Under Namespace
Classes: VerificationResult, Verifier
Instance Method Summary collapse
-
#verify ⇒ VerificationResult
Runs a verification sweep on the repository.
Instance Method Details
#verify ⇒ VerificationResult
Runs a verification sweep on the repository.
21 22 23 |
# File 'lib/amp/repository/verification.rb', line 21 def verify result = Verifier.new(self).verify end |