Struct git_checks::Topic [] [src]

pub struct Topic {
    pub base: CommitId,
    pub sha1: CommitId,
    pub diffs: Vec<DiffInfo>,
    // some fields omitted
}

Representation of a topic with information useful for commit checks.

Fields

The SHA1 of the base commit.

The SHA1 of the commit.

Information about files that changed in this commit.

Methods

impl Topic
[src]

Create a new commit from the given context for the SHA1.

Get the patch difference for the given path.

Trait Implementations

impl Debug for Topic
[src]

Formats the value using the given formatter.

impl Content for Topic
[src]

The SHA1 of the commit (if the content is of a commit).

The differences in the content.

Get the patch difference for the given path.

Return a vector of files modified in a diff. Read more