interface documentation
class IVCSCommand(Interface): (source)
Known implementations: twisted.python._release.GitCommand
An interface for VCS commands.
Method | ensure |
Ensure that path is a working directory of this VCS. |
Method | export |
Export the content of the VCSrepository to the specified directory. |
Method | is |
Return the Git status of the files in the specified path. |
Method | remove |
Remove the specified path from a the VCS. |
Ensure that path is a working directory of this VCS.
Parameters | |
path:twisted.python.filepath.FilePath | The path to check. |
Export the content of the VCSrepository to the specified directory.
Parameters | |
fromtwisted.python.filepath.FilePath | The path to the VCS 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 the VCS.
Parameters | |
path:twisted.python.filepath.FilePath | The path to remove from the repository. |