Package svnmailer :: Module subversion :: Class PathDescriptor
[show private | hide private]
[frames | no frames]

Class PathDescriptor

object --+
         |
        PathDescriptor

Known Subclasses:
LockedPathDescriptor, VersionedPathDescriptor

Describes the basic information of a particular path
Method Summary
  __init__(self, repos, path, *args, **kwargs)
Initialization
int __cmp__(self, other)
Compares two change objects by path
  init(self, *args, **kwargs)
Custom initialization
bool isDirectory(self)
Returns whether the path is a directory
    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...

Instance Variable Summary
str path: The path, we're talking about
Repository repos: The repository this change belongs to

Method Details

__init__(self, repos, path, *args, **kwargs)
(Constructor)

Initialization
Parameters:
repos - The repository reference
           (type=Repository)
path - The path
           (type=str)
Overrides:
__builtin__.object.__init__

Note: Don't override this method, override init instead.

__cmp__(self, other)
(Comparison operator)

Compares two change objects by path
Parameters:
other - The object compared to
           (type=hopefully VersionedPathDescriptor)
Returns:
Returns -1, 0 or 1
           (type=int)

init(self, *args, **kwargs)

Custom initialization

isDirectory(self)

Returns whether the path is a directory
Returns:
is a directory?
           (type=bool)

Instance Variable Details

path

The path, we're talking about
Type:
str

repos

The repository this change belongs to
Type:
Repository

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