class documentation
class GitCommand: (source)
Implements interfaces: twisted.python._release.IVCSCommand
Subset of Git commands to release Twisted from a Git repository.
Static Method | ensure |
Ensure that path is a Git working directory. |
Static Method | export |
Export the content of a Git repository to the specified directory. |
Static Method | is |
Return the Git status of the files in the specified path. |
Static Method | remove |
Remove the specified path from a Git repository. |
Ensure that path is a Git working directory.
Parameters | |
path:twisted.python.filepath.FilePath | The path to check. |
Export the content of a Git repository to the specified directory.
Parameters | |
fromtwisted.python.filepath.FilePath | The path to the Git repository to export. |
exporttwisted.python.filepath.FilePath | The directory to export the content of the repository to. This directory doesn't have to exist prior to exporting the repository. |
Return the Git status of the files in the specified path.
Parameters | |
path:twisted.python.filepath.FilePath | The path to get the status from (can be a directory or a file.) |
Remove the specified path from a Git repository.
Parameters | |
path:twisted.python.filepath.FilePath | The path to remove from the repository. |