Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
pip._internal.utils.hashes.MissingHashes Class Reference
Inheritance diagram for pip._internal.utils.hashes.MissingHashes:
Inheritance graph
[legend]
Collaboration diagram for pip._internal.utils.hashes.MissingHashes:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self)
 
- Public Member Functions inherited from pip._internal.utils.hashes.Hashes
"Hashes" __and__ (self, "Hashes" other)
 
int digest_count (self)
 
bool is_hash_allowed (self, str hash_name, str hex_digest)
 
None check_against_chunks (self, Iterable[bytes] chunks)
 
None check_against_file (self, BinaryIO file)
 
None check_against_path (self, str path)
 
bool has_one_of (self, Dict[str, str] hashes)
 
bool __bool__ (self)
 
bool __eq__ (self, object other)
 
int __hash__ (self)
 

Protected Member Functions

"NoReturn" _raise (self, Dict[str, "_Hash"] gots)
 

Additional Inherited Members

- Protected Attributes inherited from pip._internal.utils.hashes.Hashes
 _allowed
 

Detailed Description

A workalike for Hashes used when we're missing a hash for a requirement

It computes the actual hash of the requirement and raises a HashMissing
exception showing it to the user.

Constructor & Destructor Documentation

◆ __init__()

None pip._internal.utils.hashes.MissingHashes.__init__ (   self)
Don't offer the ``hashes`` kwarg.

Reimplemented from pip._internal.utils.hashes.Hashes.

Member Function Documentation

◆ _raise()

"NoReturn" pip._internal.utils.hashes.MissingHashes._raise (   self,
Dict[str, "_Hash"]  gots 
)
protected

Reimplemented from pip._internal.utils.hashes.Hashes.


The documentation for this class was generated from the following file: