b.t.t.UppercaseSHA1Provider(dirstate.SHA1Provider) : class documentation

Part of bzrlib.tests.test__dirstate_helpers View In Hierarchy

A custom SHA1Provider.
Method sha1 Return the sha1 of a file given its absolute path.
Method stat_and_sha1 Return the stat and sha1 of a file given its absolute path.
def sha1(self, abspath):
Return the sha1 of a file given its absolute path.
ParametersabspathMay be a filesystem encoded absolute path or a unicode path.
def stat_and_sha1(self, abspath):
Return the stat and sha1 of a file given its absolute path.

Note: the stat should be the stat of the physical file while the sha may be the sha of its canonical content.

ParametersabspathMay be a filesystem encoded absolute path or a unicode path.
API Documentation for Bazaar, generated by pydoctor at 2019-08-18 00:28:49.