Bases: object
Object mapping a file system directory.
Simple mapping interface
Mapping methods for changing data
Simplest readable mapping object
Basic mapping interface
Mapping objects whose items can be enumerated.
Provides defaults for IFullMapping
- NotImplementedError is raised by defaults for:
- __delitem__
- __getitem__
- __iter__
- __setitem__
works only if together with EnumerableMapping
Uses itervalues.
Uses itervalues.
Uses values.
Uses __getitem__.
uses __iter__
Uses __iter__ and __getitem__.
return items in key order
Uses __iter__ and __getitem__.
iter items in key order
Uses __iter__.
Uses __iter__ and __getitem__.
iter values in key order
Uses __iter__.
noderepr is used in printtree.
Thus, we can overwrite it in subclass and return any debug information we need while __repr__ is an enhanced standard object representation, also used as __str__ on nodes.
XXX: do we really need the difference or can we just override __repr__ in subclasses and use __repr__ in printtree?
works only if together with ReadMapping
works only if together with IterableMapping
Uses values.
works only if together with ReadMapping
Uses __iter__ and __getitem__.
return values in key order
Extends: node.interfaces.ICallable
Directory target interface.
Set item inside this directory.
@param name: name of the item (either a file name or a directory name)
@raise ValueError: If child for name already set.
Create backup files of handled files. Defaults to False
Extends: node.interfaces.ICallable, node.interfaces.ILeaf
Marker interface for a file.