Class p.u.a.f.StatedPath(object):

Part of pida.utils.anyvc.file View In Hierarchy

stores status informations about files

>>> StatedPath("a.txt", "normal")
<normal 'a.txt'>
Line # Kind Name Docs
25 Method __init__ Undocumented
32 Method __repr__ Undocumented
38 Method __str__ Undocumented
42 Class Method abspath returns the absolute path if the base is known
def __init__(self, name, state, base=None):
Undocumented
def __repr__(self):
Undocumented
def __str__(self):
Undocumented
@classmethod
def abspath(self):

returns the absolute path if the base is known else it returns None

>>> StatedPath("a",None,"b").abspath
"a/b"
>>> StatedPath("a",None).abspath
None
API Documentation for PIDA, generated by pydoctor.