Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
18573:003730ca254d | 18574:4db9e31ae605 |
---|---|
131 exist in the store).''' | 131 exist in the store).''' |
132 raise NotImplementedError('abstract method') | 132 raise NotImplementedError('abstract method') |
133 | 133 |
134 def _verifyfile(self, cctx, cset, contents, standin, verified): | 134 def _verifyfile(self, cctx, cset, contents, standin, verified): |
135 '''Perform the actual verification of a file in the store. | 135 '''Perform the actual verification of a file in the store. |
136 'cset' is only used in warnings. | |
137 'contents' controls verification of content hash. | |
138 'standin' is the standin path of the largefile to verify. | |
139 'verified' is maintained as a set of already verified files. | |
140 Returns _true_ if it is a standin and any problems are found! | |
136 ''' | 141 ''' |
137 raise NotImplementedError('abstract method') | 142 raise NotImplementedError('abstract method') |
138 | 143 |
139 import localstore, wirestore | 144 import localstore, wirestore |
140 | 145 |