Struct git_checks::CheckGitContext [] [src]

pub struct CheckGitContext { /* fields omitted */ }

Git context for use in checks.

Methods

impl CheckGitContext
[src]

Create a new git context for checking a commit.

Create a git command for use in checks.

The publisher of the branch.

Check an attribute of the given path.

Checkout paths from the index to the filesystem.

Normally, files are not placed into the worktree, so checks which use other tools to inspect file contents do not work. This method checks out files to the working directory and fixes up Git's knowledge that they are there.

All paths supported by Git's globbing and searching mechanisms are supported.

Run a command from the work tree root.

The path to the git repository.

The submodule configuration for the repository.

Trait Implementations

impl Debug for CheckGitContext
[src]

Formats the value using the given formatter.