twisted.python._release.GitCommand(object) class documentationtwisted.python._release
View Source
(View In Hierarchy)
Implements interfaces: twisted.python._release.IVCSCommand
Subset of Git commands to release Twisted from a Git repository.
| Static Method | ensureIsWorkingDirectory | Ensure that path is a Git working directory. |
| Static Method | isStatusClean | Return the Git status of the files in the specified path. |
| Static Method | remove | Remove the specified path from a Git repository. |
| Static Method | exportTo | Export the content of a Git repository to the specified directory. |
Ensure that path is a Git working directory.
| Parameters | path | The path to check. (type: twisted.python.filepath.FilePath) |
Return the Git status of the files in the specified path.
| Parameters | path | The path to get the status from (can be a directory or a file.) (type: twisted.python.filepath.FilePath) |
Remove the specified path from a Git repository.
| Parameters | path | The path to remove from the repository. (type: twisted.python.filepath.FilePath) |
Export the content of a Git repository to the specified directory.
| Parameters | fromDir | The path to the Git repository to export. (type: twisted.python.filepath.FilePath) |
| exportDir | The directory to export the content of the repository to. This directory
doesn't have to exist prior to exporting the repository. (type: twisted.python.filepath.FilePath) |