pathA structure representing a file to be used inside a repository.
string path.basenameA string giving the basename of the file.
path path.dirnameThe parent directory of this file, or None if this file does not have a parent.
bool path.existsReturns true if the file denoted by this path exists.
path path.get_child(child_path)Append the given path to this path and return the resulted path.
The path to append to this path.
list path.readdir()The list of entries in the directory denoted by this path.
path path.realpathReturns the canonical path for this path by repeatedly replacing all symbolic links with their referents.