Package pybaz :: Class RevisionFile
[frames] | no frames]

Class RevisionFile

source code

object --+
         |
        RevisionFile

File component of an archived revision.

:ivar revision: revision this file belongs to.
:type revision: `Revision`
:ivar name: name of that file.
:type name: str
:ivar checksums: dictionnary whose keys are checksum algorithms
    (e.g. ``"md5"``, ``"sha1"``) and whose values are checksum
    values (strings of hexadecimal digits).
:type checksums: dict of str to str



Instance Methods
 
__init__(self, revision, name, checksums)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties
  data

Inherited from object: __class__

Method Details

__init__(self, revision, name, checksums)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details

data

Get Method:
pybaz.RevisionFile._get_data(self)
Set Method:
'''Content of of that file.

                    :type: str
                    '''