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

Ensure that path is a Git working directory.

ParameterspathThe path to check. (type: twisted.python.filepath.FilePath)
@staticmethod
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)
@staticmethod
def remove(path): (source)

Remove the specified path from a Git repository.

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

Export the content of a Git repository to the specified directory.

ParametersfromDirThe path to the Git 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 2018-07-14 04:53:34.