pub struct CheckGitContext { /* fields omitted */ }
Git context for use in checks.
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.
Deprecating in 3.3.0:
UNSAFE: use Content::workarea to check out files
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.
Deprecating in 3.3.0:
not useful without the checkout method
Run a command from the work tree root.
The workarea used for check operations.
The workarea used for check operations.
The path to the git repository.
The submodule configuration for the repository.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more