Expand description
Module for importing all types and traits for implementing checks.
Structs§
- Check
GitContext - Git context for use in checks.
- Check
Result - The results of a check.
- Commit
- Representation of a commit with information useful for commit checks.
- Commit
Id - The Git object id of a commit.
- Diff
Info - Information about a file that changed in a commit.
- Identity
- An identity for creating git commits.
- Submodule
Context - A git context for a submodule for use within checks.
- Topic
- Representation of a topic with information useful for commit checks.
Enums§
- Attribute
State - States attributes may be in.
- Commit
Error - Errors which can occur when working with a commit for a check.
- File
Name - A representation of filenames as given by Git.
- GitError
- Errors which may occur when working with workareas.
- Status
Change - Ways a file can be changed in a commit.
Traits§
- Branch
Check - Interface for checks which runs once for the entire branch.
- Check
- Interface for checks which run for each commit.
- Content
- A trait for representing the content of a diff.
- Content
Check - Interface for checks which check the content of files.
- Error
Error
is a trait representing the basic expectations for error values, i.e., values of typeE
inResult<T, E>
.- Topic
Check - Interface for checks which runs once for the entire branch, but with access to the content.
Functions§
- commit_
prefix - Create a prefix to a message referencing the associated.
- commit_
prefix_ str - Create a prefix to a message referencing the associated with a description string.