textual_universal_directorytree
#
Textual Universal Directory Tree
GitHubTextualPath
#
Bases: GitHubPath
GitHubPath
UPath implementation for GitHub to be compatible with the Directory Tree
Source code in textual_universal_directorytree/alternate_paths.py
name: str
property
#
Override the name for top level repo
__str__()
#
String representation of the GitHubPath
Source code in textual_universal_directorytree/alternate_paths.py
handle_github_url(url)
classmethod
#
Handle GitHub URLs
GitHub URLs are handled by converting them to the raw URL.
Source code in textual_universal_directorytree/alternate_paths.py
S3TextualPath
#
Bases: S3Path
S3TextualPath
Source code in textual_universal_directorytree/alternate_paths.py
name: str
property
#
Override the name for top level repo
SFTPTextualPath
#
Bases: UPath
SFTPTextualPath
Source code in textual_universal_directorytree/alternate_paths.py
name: str
property
#
Override the name for top level repo
path: str
property
#
Always return the path relative to the root
__str__()
#
Add the protocol prefix + extras to the string representation