Package zeroinstall :: Package zerostore :: Module manifest :: Class OldSHA1
[frames] | no frames]

Class OldSHA1

source code

Algorithm --+
            |
           OldSHA1


Deprecated: Injector versions before 0.20 only supported this algorithm.

Instance Methods
 
generate_manifest(self, root)
Returns an iterator that yields each line of the manifest for the directory tree rooted at 'root'.
source code
 
new_digest(self)
Create a new digest.
source code
 
getID(self, digest)
Convert a digest (from new_digest) to a full ID.
source code
Method Details

generate_manifest(self, root)

source code 

Returns an iterator that yields each line of the manifest for the directory tree rooted at 'root'.

Overrides: Algorithm.generate_manifest
(inherited documentation)

new_digest(self)

source code 

Create a new digest. Call update() on the returned object to digest the data. Call getID() to turn it into a full ID string.

Overrides: Algorithm.new_digest
(inherited documentation)

getID(self, digest)

source code 

Convert a digest (from new_digest) to a full ID.

Overrides: Algorithm.getID
(inherited documentation)