Package svnmailer :: Package notifier :: Module _multimail :: Class DiffDescriptor
[show private | hide private]
[frames | no frames]

Class DiffDescriptor

object --+
         |
        DiffDescriptor


Container class to describe a dumped diff
Method Summary
  __init__(self, notifier, tmpfile, change, propdiff)
Initialization
int getSize(self)
Returns the size of the diff part
str getValue(self)
Returns the diff value
  toMIMEPart(self)
Returns the diff as MIME part
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Method Details

__init__(self, notifier, tmpfile, change, propdiff=False)
(Constructor)

Initialization
Parameters:
tmpfile - The tempfile the diff was dumped to
           (type=svnmailer.util.TempFile)
change - The change in question
           (type=svnmailer.subversion.VersionedPathDescriptor)
propdiff - is a property diff?
           (type=bool)
Overrides:
__builtin__.object.__init__

getSize(self)

Returns the size of the diff part
Returns:
The size
           (type=int)

getValue(self)

Returns the diff value
Returns:
The value
           (type=str)

toMIMEPart(self)

Returns the diff as MIME part

Generated by Epydoc 2.0 on Sun Sep 25 20:49:19 2005 http://epydoc.sf.net