Docs.rs
  • git-checks-4.3.0
    • git-checks 4.3.0
    • Permalink
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • mathstuf
    • bradking
    • kwrobot
    • Dependencies
      • bumpalo ^3.11.1 normal
      • derive_builder ~0.20 normal
      • git-checks-config ~0.3 normal optional
      • git-checks-core ^1.2 normal
      • git-workarea ^4.0 normal
      • hickory-proto ^0.25.0-alpha.5 normal
      • hickory-resolver ^0.25.0-alpha.5 normal
      • itertools ~0.14 normal
      • lazy_static ^1.1 normal
      • linked-hash-map ^0.5.3 normal
      • log ~0.4.4 normal
      • rayon ^1.5 normal
      • regex ^1.5.5 normal
      • serde ^1.0 normal optional
      • thiserror ^2 normal
      • tokio ^1.39.0 normal
      • ttl_cache ~0.5 normal
      • url ^2.5.4 normal
      • wait-timeout ~0.2 normal
      • web-sys ~0.3.26 normal
      • serde_json ^1.0 dev
      • tempfile ^3.2.0 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate git_checks

git_checks4.3.0

  • All Items

Crate Items

  • Modules
  • Structs
  • Enums

Crates

  • git_checks

Crate git_checks

Source
Expand description

Basic Checks

Simple checks useful in a wide variety of projects.

Modules§

builders
Module for all builders for checks.
config
Configuration structures for checks.

Structs§

AllowRobot
A check to allow robots to skip all checks.
BadCommit
Check for commits which should not be in the history.
BadCommits
Check for commits which should not be in the history.
Changelog
Check for changelog modifications.
CheckEndOfLine
Check for files which lack an end-of-line at the end of the file.
CheckExecutablePermissions
Checks whether a file’s executable permissions matches its contents.
CheckSize
Checks that files committed to the tree do not exceed a specified size.
CheckWhitespace
Checks for bad whitespace using Git’s built-in checks.
CommitSubject
Check commit message subjects for invalid patterns.
FastForward
A check which checks for fast-forward merge statuses.
Formatting
Run a formatter in the repository to check commits for formatting.
InvalidPaths
A check which denies commits which adds files containing special characters in their paths.
InvalidUtf8
A check which denies commits which modify files containing special characters.
LfsPointer
A check which verifies that files meant to be under LFS control are valid LFS pointers.
RejectBiDi
A check which denies commits which add text lines containing bidirectional control characters.
RejectBinaries
Reject binary files.
RejectConflictPaths
A check which denies paths which look like merge conflict resolution paths.
RejectMerges
A check which denies merge commits, including octopus merges.
RejectSeparateRoot
A check which denies root commits.
RejectSymlinks
Rejects the addition of symlinks to a repository.
ReleaseBranch
A check which checks for release branch eligibility.
RestrictedPath
A check which denies commits which modify files underneath certain path.
SubmoduleAvailable
Check that submodules are reachable from a given branch and available.
SubmoduleRewind
Check that submodules are not rewound to older revisions.
SubmoduleWatch
Check that submodules are reachable from a given branch and available.
ThirdParty
Description of a third party package imported using Kitware’s third party import process.
ValidName
A check which checks for valid identities.

Enums§

ChangelogStyle
The style of changelog management in use.
ValidNameFullNamePolicy
Configuration value for ValidName policy for use of full names in identities.

Results

Settings
Help
    struct
    git_checks::LfsPointer
    A check which verifies that files meant to be under LFS …
    struct
    git_checks::config::LfsPointerConfig
    Configuration for the LfsPointer check.
    struct
    git_checks::builders::LfsPointerBuilder
    Builder for LfsPointer.
    method
    git_checks::LfsPointer::clone
    &LfsPointer -> LfsPointer
    method
    git_checks::LfsPointer::name
    &LfsPointer -> &str
    method
    git_checks::LfsPointer::fmt
    &LfsPointer, &mut Formatter -> Result
    method
    git_checks::LfsPointer::check
    &LfsPointer, &CheckGitContext, &Content -> Result<CheckResult, Box<Error>>
    method
    git_checks::LfsPointer::default
    -> LfsPointer
    method
    git_checks::builders::LfsPointerBuilder::build
    &LfsPointerBuilder -> Result<LfsPointer, >
    Builds a new LfsPointer.
    method
    git_checks::LfsPointer::clone
    &LfsPointer -> LfsPointer