Struct git_checks::checks::RestrictedPath [] [src]

pub struct RestrictedPath { /* fields omitted */ }

A check which denies commits which modify files underneath certain path.

Methods

impl RestrictedPath
[src]

[src]

Create a check which rejects modifications to files underneath a of given path.

[src]

Whether commits changing the path are errors or warnings.

Trait Implementations

impl Debug for RestrictedPath
[src]

[src]

Formats the value using the given formatter.

impl ContentCheck for RestrictedPath
[src]

[src]

The name of the check.

[src]

Run the check.