|
Let us walk on the 3-isogeny graph
|
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) |
Data Fields | |
| extra_args | |
| rev | |
| vc_class | |
Encapsulates a VCS-specific revision to install, along with any VCS install options. Instances of this class should be treated as if immutable.
Definition at line 124 of file versioncontrol.py.
| None __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.
Definition at line 133 of file versioncontrol.py.
Referenced by Protocol.__init_subclass__().

| str __repr__ | ( | self | ) |
Definition at line 153 of file versioncontrol.py.
| Optional[str] arg_rev | ( | self | ) |
Definition at line 157 of file versioncontrol.py.
References RevOptions.rev, and RevOptions.vc_class.
Referenced by RevOptions.to_args().

| "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.
Definition at line 181 of file versioncontrol.py.
References RevOptions.extra_args, and RevOptions.vc_class.
| CommandArgs to_args | ( | self | ) |
Return the VCS-specific command arguments.
Definition at line 163 of file versioncontrol.py.
References RevOptions.arg_rev(), RevOptions.extra_args, and RevOptions.vc_class.

| str to_display | ( | self | ) |
Definition at line 175 of file versioncontrol.py.
References RevOptions.rev.
| extra_args |
Definition at line 148 of file versioncontrol.py.
Referenced by RevOptions.make_new(), and RevOptions.to_args().
| rev |
Definition at line 149 of file versioncontrol.py.
Referenced by RevOptions.arg_rev(), and RevOptions.to_display().
| vc_class |
Definition at line 150 of file versioncontrol.py.
Referenced by RevOptions.arg_rev(), RevOptions.make_new(), and RevOptions.to_args().