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. Read more

impl Content for Topic
[src]

A workarea which may be used to work on the content.

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

Important traits for Vec<u8>

The differences in the content.

Get the patch difference for the given path.

Important traits for Vec<u8>

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

Auto Trait Implementations

impl Send for Topic

impl Sync for Topic