
Public Member Functions | |
| def | __init__ (self, options) |
| def | __init__ (self, options) |
| def | GenerateDiff (self, extra_args) |
| def | GenerateDiff (self, extra_args) |
| def | GetBaseFile (self, filename) |
| def | GetBaseFile (self, filename) |
| def | GetUnknownFiles (self) |
| def | GetUnknownFiles (self) |
Public Member Functions inherited from upload.VersionControlSystem | |
| def | CheckForUnknownFiles (self) |
| def | CheckForUnknownFiles (self) |
| def | GetBaseFiles (self, diff) |
| def | GetBaseFiles (self, diff) |
| def | IsImage (self, filename) |
| def | IsImage (self, filename) |
| def | UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files) |
| def | UploadBaseFiles (self, issue, rpc_server, patch_list, patchset, options, files) |
Public Attributes | |
| base_hashes | |
Public Attributes inherited from upload.VersionControlSystem | |
| options | |
Implementation of the VersionControlSystem interface for Git.
Definition at line 985 of file googlemock/scripts/upload.py.
| def upload.GitVCS.__init__ | ( | self, | |
| options | |||
| ) |
Constructor. Args: options: Command line options.
Reimplemented from upload.VersionControlSystem.
Definition at line 988 of file googlemock/scripts/upload.py.
| def upload.GitVCS.__init__ | ( | self, | |
| options | |||
| ) |
Constructor. Args: options: Command line options.
Reimplemented from upload.VersionControlSystem.
Definition at line 988 of file googletest/scripts/upload.py.
| def upload.GitVCS.GenerateDiff | ( | self, | |
| args | |||
| ) |
Return the current diff as a string. Args: args: Extra arguments to pass to the diff command.
Reimplemented from upload.VersionControlSystem.
Definition at line 993 of file googlemock/scripts/upload.py.
| def upload.GitVCS.GenerateDiff | ( | self, | |
| args | |||
| ) |
Return the current diff as a string. Args: args: Extra arguments to pass to the diff command.
Reimplemented from upload.VersionControlSystem.
Definition at line 993 of file googletest/scripts/upload.py.
| def upload.GitVCS.GetBaseFile | ( | self, | |
| filename | |||
| ) |
Get the content of the upstream version of a file. Returns: A tuple (base_content, new_content, is_binary, status) base_content: The contents of the base file. new_content: For text files, this is empty. For binary files, this is the contents of the new file, since the diff output won't contain information to reconstruct the current file. is_binary: True iff the file is binary. status: The status of the file.
Reimplemented from upload.VersionControlSystem.
Definition at line 1026 of file googletest/scripts/upload.py.
| def upload.GitVCS.GetBaseFile | ( | self, | |
| filename | |||
| ) |
Get the content of the upstream version of a file. Returns: A tuple (base_content, new_content, is_binary, status) base_content: The contents of the base file. new_content: For text files, this is empty. For binary files, this is the contents of the new file, since the diff output won't contain information to reconstruct the current file. is_binary: True iff the file is binary. status: The status of the file.
Reimplemented from upload.VersionControlSystem.
Definition at line 1026 of file googlemock/scripts/upload.py.
| def upload.GitVCS.GetUnknownFiles | ( | self | ) |
Return a list of files unknown to the VCS.
Reimplemented from upload.VersionControlSystem.
Definition at line 1021 of file googlemock/scripts/upload.py.
| def upload.GitVCS.GetUnknownFiles | ( | self | ) |
Return a list of files unknown to the VCS.
Reimplemented from upload.VersionControlSystem.
Definition at line 1021 of file googletest/scripts/upload.py.
| upload.GitVCS.base_hashes |
Definition at line 991 of file googlemock/scripts/upload.py.