Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/basestore.py @ 18574:4db9e31ae605
largefiles: docstrings for verify methods
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 08 Feb 2013 13:08:25 +0100 |
parents | 003730ca254d |
children | c2d079387b2c |
line wrap: on
line diff
--- a/hgext/largefiles/basestore.py Fri Feb 08 13:00:08 2013 +0100 +++ b/hgext/largefiles/basestore.py Fri Feb 08 13:08:25 2013 +0100 @@ -133,6 +133,11 @@ def _verifyfile(self, cctx, cset, contents, standin, verified): '''Perform the actual verification of a file in the store. + 'cset' is only used in warnings. + 'contents' controls verification of content hash. + 'standin' is the standin path of the largefile to verify. + 'verified' is maintained as a set of already verified files. + Returns _true_ if it is a standin and any problems are found! ''' raise NotImplementedError('abstract method')