OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __repr__ (self) |
def | format (self) |
def | oldhexsha (self) |
def | newhexsha (self) |
def | actor (self) |
def | time (self) |
def | message (self) |
def | new (cls, oldhexsha, newhexsha, actor, time, tz_offset, message) |
def | from_line (cls, line) |
Named tuple allowing easy access to the revlog data fields
def __repr__ | ( | self | ) |
Representation of ourselves in git reflog format
def actor | ( | self | ) |
Actor instance, providing access
def format | ( | self | ) |
:return: a string suitable to be placed in a reflog file
def from_line | ( | cls, | |
line | |||
) |
:return: New RefLogEntry instance from the given revlog line. :param line: line bytes without trailing newline :raise ValueError: If line could not be parsed
def message | ( | self | ) |
Message describing the operation that acted on the reference
def new | ( | cls, | |
oldhexsha, | |||
newhexsha, | |||
actor, | |||
time, | |||
tz_offset, | |||
message | |||
) |
:return: New instance of a RefLogEntry
def newhexsha | ( | self | ) |
The hexsha to the commit the ref now points to, after the change
def oldhexsha | ( | self | ) |
The hexsha to the commit the ref pointed to before the change
def time | ( | self | ) |
time as tuple: * [0] = int(time) * [1] = int(timezone_offset) in time.altzone format