| Trees | Indices | Help |
|
|---|
object --+ | Node
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
'dir'
'file'
NoneNoneInherited from object:
__class__
Provide detailed backward history for the content of this Node.
Retrieve an array of revisions, one rev for each line of content
for that node.
Only expected to work on (text) FILE nodes, of course.
Return a stream for reading the content of the node.
This method will return None for directories.
The returned object must support a read([len]) method.
The length in bytes of the content.
Will be None for a directory.
The MIME type corresponding to the content, if known.
Will be None for a directory.
Generator that yields the immediate child entries of a directory.
The entries are returned in no particular order.
If the node is a file, this method returns None.
Provide backward history for this Node.
Generator that yields (path, rev, chg) tuples, one for each revision
in which the node was changed. This generator will follow copies and
moves of a node (if the underlying version control system supports
that), which will be indicated by the first element of the tuple
(i.e. the path) changing.
Starts with an entry for the current revision.
limit - if given, yield at most limit results.Return the change event corresponding to the previous revision.
This returns a (path, rev, chg) tuple.
Returns the properties (meta-data) of the node, as a dictionary.
The set of properties depends on the version control system.
| Trees | Indices | Help |
|
|---|