Selfie
|
Public Member Functions | |
__init__ (self, str absolute_path) | |
__hash__ (self) | |
str | __str__ (self) |
str | name (self) |
bool | is_folder (self) |
None | assert_folder (self) |
"TypedPath" | parent_folder (self) |
"TypedPath" | resolve_file (self, str child) |
"TypedPath" | resolve_folder (self, str child) |
str | relativize (self, "TypedPath" child) |
bool | __eq__ (self, object other) |
bool | __lt__ (self, "TypedPath" other) |
"TypedPath" | of_folder (cls, str path) |
"TypedPath" | of_file (cls, str path) |
Public Attributes | |
absolute_path | |
Definition at line 5 of file TypedPath.py.
selfie_lib.TypedPath.TypedPath.__init__ | ( | self, | |
str | absolute_path | ||
) |
Reimplemented in selfie_lib.WriteTracker.ToBeFileWriteTracker.
Definition at line 6 of file TypedPath.py.
bool selfie_lib.TypedPath.TypedPath.__eq__ | ( | self, | |
object | other | ||
) |
Definition at line 59 of file TypedPath.py.
selfie_lib.TypedPath.TypedPath.__hash__ | ( | self | ) |
Definition at line 9 of file TypedPath.py.
bool selfie_lib.TypedPath.TypedPath.__lt__ | ( | self, | |
"TypedPath" | other | ||
) |
Definition at line 64 of file TypedPath.py.
str selfie_lib.TypedPath.TypedPath.__str__ | ( | self | ) |
Definition at line 12 of file TypedPath.py.
None selfie_lib.TypedPath.TypedPath.assert_folder | ( | self | ) |
Definition at line 28 of file TypedPath.py.
bool selfie_lib.TypedPath.TypedPath.is_folder | ( | self | ) |
Definition at line 25 of file TypedPath.py.
str selfie_lib.TypedPath.TypedPath.name | ( | self | ) |
Definition at line 16 of file TypedPath.py.
"TypedPath" selfie_lib.TypedPath.TypedPath.of_file | ( | cls, | |
str | path | ||
) |
Definition at line 75 of file TypedPath.py.
"TypedPath" selfie_lib.TypedPath.TypedPath.of_folder | ( | cls, | |
str | path | ||
) |
Definition at line 68 of file TypedPath.py.
"TypedPath" selfie_lib.TypedPath.TypedPath.parent_folder | ( | self | ) |
Definition at line 34 of file TypedPath.py.
str selfie_lib.TypedPath.TypedPath.relativize | ( | self, | |
"TypedPath" | child | ||
) |
Definition at line 53 of file TypedPath.py.
"TypedPath" selfie_lib.TypedPath.TypedPath.resolve_file | ( | self, | |
str | child | ||
) |
Definition at line 41 of file TypedPath.py.
"TypedPath" selfie_lib.TypedPath.TypedPath.resolve_folder | ( | self, | |
str | child | ||
) |
Definition at line 47 of file TypedPath.py.
selfie_lib.TypedPath.TypedPath.absolute_path |
Definition at line 7 of file TypedPath.py.