git_interface.datatypes

Custom types that are used

class git_interface.datatypes.ArchiveTypes(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Possible archive types

TAR = 'tar'
TAR_GZ = 'tar.gz'
ZIP = 'zip'
class git_interface.datatypes.Log(commit_hash, parent_hash, author_email, author_name, commit_date, subject)

Bases: object

Represents a single git log

Parameters:
  • commit_hash (str)

  • parent_hash (str)

  • author_email (str)

  • author_name (str)

  • commit_date (datetime)

  • subject (str)

author_email: str
author_name: str
commit_date: datetime
commit_hash: str
parent_hash: str
subject: str