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.
def ensureIsWorkingDirectory(path): (source)

Ensure that path is a working directory of this VCS.

ParameterspathThe path to check. (type: twisted.python.filepath.FilePath)
def isStatusClean(path): (source)

Return the Git status of the files in the specified path.

ParameterspathThe path to get the status from (can be a directory or a file.) (type: twisted.python.filepath.FilePath)
def remove(path): (source)

Remove the specified path from a the VCS.

ParameterspathThe path to remove from the repository. (type: twisted.python.filepath.FilePath)
def exportTo(fromDir, exportDir): (source)

Export the content of the VCSrepository to the specified directory.

ParametersfromDirThe path to the VCS repository to export. (type: twisted.python.filepath.FilePath)
exportDirThe 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)
API Documentation for Twisted, generated by pydoctor at 2017-09-23 19:45:03.