Module git_checks_core::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.
- 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.
- Errors which can occur when working with a commit for a check.
- A representation of filenames as given by Git.
- Errors which may occur when working with workareas.
- 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.
Error
is a trait representing the basic expectations for error values, i.e., values of typeE
inResult<T, E>
.- 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.