class documentation
class PathResolver:
Known subclasses: bootstraparse.modules.pathresolver.BoostraPath
Initialised with a relative path and returns the translated absolute path
| Method | __call__ |
Returns the absolute path of the relative path :param relative_path: Relative path to be resolved :type relative_path: str :return: Absolute path |
| Method | __init__ |
Initialises the PathResolver with the base path :param base_path: Base path :type base_path: str |
| Method | give |
Returns the absolute path of the relative path :param relative_path: Relative path to be resolved :type relative_path: str :return: Absolute path |
| Instance Variable | base |
Undocumented |
def __call__(self, relative_path='.'):
Returns the absolute path of the relative path :param relative_path: Relative path to be resolved :type relative_path: str :return: Absolute path
def __init__(self, base_path):
overridden in
bootstraparse.modules.pathresolver.BoostraPathInitialises the PathResolver with the base path :param base_path: Base path :type base_path: str