Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._internal.vcs.versioncontrol.RevOptions Class Reference

Public Member Functions

None __init__ (self, Type["VersionControl"] vc_class, Optional[str] rev=None, Optional[CommandArgs] extra_args=None)
 
str __repr__ (self)
 
Optional[str] arg_rev (self)
 
CommandArgs to_args (self)
 
str to_display (self)
 
"RevOptions" make_new (self, str rev)
 

Public Attributes

 extra_args
 
 rev
 
 vc_class
 

Detailed Description

Encapsulates a VCS-specific revision to install, along with any VCS
install options.

Instances of this class should be treated as if immutable.

Constructor & Destructor Documentation

◆ __init__()

None pip._internal.vcs.versioncontrol.RevOptions.__init__ (   self,
Type["VersionControl"]  vc_class,
Optional[str]   rev = None,
Optional[CommandArgs]   extra_args = None 
)
Args:
  vc_class: a VersionControl subclass.
  rev: the name of the revision to install.
  extra_args: a list of extra options.

Member Function Documentation

◆ make_new()

"RevOptions" pip._internal.vcs.versioncontrol.RevOptions.make_new (   self,
str  rev 
)
Make a copy of the current instance, but with a new rev.

Args:
  rev: the name of the revision for the new object.

◆ to_args()

CommandArgs pip._internal.vcs.versioncontrol.RevOptions.to_args (   self)
Return the VCS-specific command arguments.

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