Crate git_checks_core

source
Expand description

Git checks

There are many things in git repositories which can be checked mechanically such as whitespace errors, submodule availability, eligibility for a branch, and more. This crate provides traits for these checks and a set of common checks which operate with minimal file inspection.

Modules§

  • 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.
  • Information about a file that changed in a commit.
  • Configuration for checks to run against a repository.
  • Representation of a topic with information useful for commit checks.

Enums§

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.
  • Interface for checks which runs once for the entire branch, but with access to the content.