Module git_checks::impl_prelude
source · Expand description
Module for importing all types and traits for implementing checks.
Structs
Git context for use in checks.
The results of a check.
Representation of a commit with information useful for commit checks.
The Git object id of a commit.
Information about a file that changed in a commit.
The Error type.
An identity for creating git commits.
A git context for a submodule for use within checks.
Representation of a topic with information useful for commit checks.
Enums
States attributes may be in.
The kind of an error.
A representation of filenames as given by Git.
Ways a file can be changed in a commit.
Traits
Interface for checks which runs once for the entire branch.
Interface for checks which run for each commit.
A trait for representing the content of a diff.
Interface for checks which check the content of files.
Additional methods for
Result
, for easy interaction with this crate.Interface for checks which runs once for the entire branch, but with access to the content.
Functions
Create a prefix to a message referencing the associated.
Create a prefix to a message referencing the associated with a description string.
Type Definitions
Convenient wrapper around
std::Result
.