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

Public Member Functions

None add_options (self)
 
int run (self, Values options, List[str] args)
 
None get_cache_dir (self, Values options, List[Any] args)
 
None get_cache_info (self, Values options, List[Any] args)
 
None list_cache_items (self, Values options, List[Any] args)
 
None format_for_human (self, List[str] files)
 
None format_for_abspath (self, List[str] files)
 
None remove_cache_items (self, Values options, List[Any] args)
 
None purge_cache (self, Values options, List[Any] args)
 
- Public Member Functions inherited from pip._internal.cli.base_command.Command
None __init__ (self, str name, str summary, bool isolated=False)
 
None handle_pip_version_check (self, Values options)
 
Tuple[Values, List[str]] parse_args (self, List[str] args)
 
int main (self, List[str] args)
 
- Public Member Functions inherited from pip._internal.cli.command_context.CommandContextMixIn
Generator[None, None, None] main_context (self)
 
_T enter_context (self, ContextManager[_T] context_provider)
 

Public Attributes

 cmd_opts
 
 get_cache_dir
 
 get_cache_info
 
 list_cache_items
 
 remove_cache_items
 
 purge_cache
 
- Public Attributes inherited from pip._internal.cli.base_command.Command
 name
 
 summary
 
 parser
 
 cmd_opts
 
 tempdir_registry
 
 verbosity
 

Static Public Attributes

bool ignore_require_venv = True
 
str usage
 
- Static Public Attributes inherited from pip._internal.cli.base_command.Command
str usage = ""
 
bool ignore_require_venv = False
 

Protected Member Functions

str _cache_dir (self, Values options, str subdir)
 
List[str] _find_http_files (self, Values options)
 
List[str] _find_wheels (self, Values options, str pattern)
 
- Protected Member Functions inherited from pip._internal.cli.base_command.Command
int _main (self, List[str] args)
 

Additional Inherited Members

- Protected Attributes inherited from pip._internal.cli.command_context.CommandContextMixIn
 _in_main_context
 
 _main_context
 

Detailed Description

Inspect and manage pip's wheel cache.

Subcommands:

- dir: Show the cache directory.
- info: Show information about the cache.
- list: List filenames of packages stored in the cache.
- remove: Remove one or more package from the cache.
- purge: Remove all items from the cache.

``<pattern>`` can be a glob expression or a package name.

Member Function Documentation

◆ add_options()

None pip._internal.commands.cache.CacheCommand.add_options (   self)

◆ run()

int pip._internal.commands.cache.CacheCommand.run (   self,
Values  options,
List[str]  args 
)

Member Data Documentation

◆ usage

str pip._internal.commands.cache.CacheCommand.usage
static
Initial value:
= """
%prog dir
%prog info
%prog list [<pattern>] [--format=[human, abspath]]
%prog remove <pattern>
%prog purge
"""

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