267
267
"""An interface for getting sha1s of a file."""
271
275
raise NotImplementedError(self.sha1)
273
277
def stat_and_sha1(self, abspath):
274
278
"""Return the stat and sha1 of a file given its absolute path.
276
283
Note: the stat should be the stat of the physical file
277
284
while the sha may be the sha of its canonical content.