Struct git_checks::checks::InvalidUtf8 [] [src]

pub struct InvalidUtf8;

A check which denies commits which modify files containing special characters.

Methods

impl InvalidUtf8
[src]

[src]

Create a check which rejects file contents which are invalid utf-8.

Files may be marked as binary by unsetting the text attribute.

Trait Implementations

impl Debug for InvalidUtf8
[src]

[src]

Formats the value using the given formatter.

impl Default for InvalidUtf8
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for InvalidUtf8
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for InvalidUtf8
[src]

impl ContentCheck for InvalidUtf8
[src]

[src]

The name of the check.

[src]

Run the check.