Let us walk on the 3-isogeny graph
|
Data Structures | |
class | _CleanResult |
class | Link |
class | LinkHash |
class | MetadataFile |
Functions | |
Optional[Dict[str, str]] | supported_hashes (Optional[Dict[str, str]] hashes) |
str | _clean_url_path_part (str part) |
str | _clean_file_url_path (str part) |
str | _clean_url_path (str path, bool is_local_path) |
str | _ensure_quoted_url (str url) |
_CleanResult | _clean_link (Link link) |
bool | links_equivalent (Link link1, Link link2) |
Variables | |
logger = logging.getLogger(__name__) | |
tuple | _SUPPORTED_HASHES = ("sha512", "sha384", "sha256", "sha224", "sha1", "md5") |
_reserved_chars_re = re.compile("(@|%2F)", re.IGNORECASE) | |
|
protected |
Clean the first part of a URL path that corresponds to a local filesystem path (i.e. the first part after splitting on "@" characters).
Definition at line 128 of file link.py.
References i.
|
protected |
Definition at line 553 of file link.py.
References i.
Referenced by pip._internal.models.link.links_equivalent().
|
protected |
Clean the path portion of a URL.
Definition at line 145 of file link.py.
References i.
Referenced by pip._internal.models.link._ensure_quoted_url().
|
protected |
Clean a "part" of a URL path (i.e. after splitting on "@" characters).
Definition at line 120 of file link.py.
References i.
|
protected |
Make sure a link is fully quoted. For example, if ' ' occurs in the URL, it will be replaced with "%20", and without double-quoting other characters.
Definition at line 167 of file link.py.
References pip._internal.models.link._clean_url_path(), and i.
Referenced by Link.from_element(), and Link.from_json().
Definition at line 580 of file link.py.
References pip._internal.models.link._clean_link().
Optional[Dict[str, str]] supported_hashes | ( | Optional[Dict[str, str]] | hashes | ) |
Definition at line 109 of file link.py.
References i.
Referenced by Link.from_element(), and Link.from_json().
|
protected |
|
protected |