An abstraction of a path in a particular repository; provides
functionality for relative path resolution, alias traversal, and
non-'/' document root.
If basePath constructor arg is not None, pathString must be
relative.
Methods
__init__(
self,
pathString,
driver,
documentRoot,
basePath)
Returns a new Path instance representing the current path's
parent.
normalize(
self,
pathString,
traverseLastAlias=None)
Returns a new Path instance representing the result of
resolving the given pathString (a relative path, usually),
with the current path as the base.