Module node_descriptors

Source
Expand description

Additional description metadata to display for commits.

These are rendered inline in the smartlog, between the commit hash and the commit message.

Structs§

BranchesDescriptor
Display branches that point to a given commit.
CommitMessageDescriptor
Display the first line of the commit message.
CommitOidDescriptor
Display an abbreviated commit hash.
DifferentialRevisionDescriptor
Display the associated Phabricator revision for a given commit.
ObsolescenceExplanationDescriptor
For obsolete commits, provide the reason that it’s obsolete.
RelativeTimeDescriptor
Display how long ago the given commit was committed.

Enums§

NodeObject
An object which can be rendered in the smartlog.
Redactor
Object responsible for redacting sensitive information, so that it can be included in a bug report.

Traits§

NodeDescriptor
Interface to display information about a node in the smartlog.

Functions§

render_node_descriptors
Get the complete description for a given commit.