Back to index

obnam  1.1
Public Member Functions | Public Attributes
obnamlib.plugins.fsck_plugin.CheckFileChecksum Class Reference
Inheritance diagram for obnamlib.plugins.fsck_plugin.CheckFileChecksum:
Inheritance graph
Collaboration diagram for obnamlib.plugins.fsck_plugin.CheckFileChecksum:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def do

Public Attributes


Detailed Description

Definition at line 65 of file

Constructor & Destructor Documentation

def obnamlib.plugins.fsck_plugin.CheckFileChecksum.__init__ (   self,

Definition at line 67 of file

00068     def __init__(self, filename, correct, chunkids, checksummer):
00069         self.filename = filename
00070 = '%s checksum' % filename
00071         self.correct = correct
00072         self.chunkids = chunkids
00073         self.checksummer = checksummer

Member Function Documentation

Definition at line 74 of file

00075     def do(self):
00076         logging.debug('Checking whole-file checksum for %s' % self.filename)
00077         if self.correct != self.checksummer.digest():
00078             self.error('%s whole-file checksum mismatch' %

Here is the call graph for this function:

Member Data Documentation

Definition at line 72 of file

Definition at line 71 of file

Definition at line 70 of file

Definition at line 68 of file

Definition at line 69 of file

The documentation for this class was generated from the following file: