Utilities for reading and generating reflogs.
Function format_reflog_line Generate a single reflog line.
Function parse_reflog_line Parse a reflog line.
Function read_reflog Read reflog.
def format_reflog_line(old_sha, new_sha, committer, timestamp, timezone, message):
Generate a single reflog line.
Parametersold_shaOld Commit SHA
new_shaNew Commit SHA
committerCommitter name and e-mail
timestampTimestamp
timezoneTimezone
messageMessage
def parse_reflog_line(line):
Parse a reflog line.
ParameterslineLine to parse
ReturnsTuple of (old_sha, new_sha, committer, timestamp, timezone, message)
def read_reflog(f):
Read reflog.
ParametersfFile-like object
ReturnsIterator over Entry objects
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.