twisted.python._release.IVCSCommand(Interface)
interface documentationtwisted.python._release
(View In Hierarchy)
Known implementations: twisted.python._release.GitCommand
An interface for VCS commands.
Method | ensureIsWorkingDirectory | Ensure that path is a working directory of this VCS. |
Method | isStatusClean | Return the Git status of the files in the specified path. |
Method | remove | Remove the specified path from a the VCS. |
Method | exportTo | Export the content of the VCSrepository to the specified directory. |
Ensure that path
is a working directory of this VCS.
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 the VCS.
Parameters | path | The path to remove from the repository. (type: twisted.python.filepath.FilePath ) |
Export the content of the VCSrepository to the specified directory.
Parameters | fromDir | The path to the VCS 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 ) |