Struct git_checks::checks::CheckSize [] [src]

pub struct CheckSize { /* fields omitted */ }

Checks that files committed to the tree do not exceed a specified size.

Methods

impl CheckSize
[src]

[src]

Create a new check to check for size with the given default size.

The check can be configured using the hooks-max-size attribute to change the maximum size allowed for specific files.

Trait Implementations

impl Debug for CheckSize
[src]

[src]

Formats the value using the given formatter.

impl Clone for CheckSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CheckSize
[src]

impl ContentCheck for CheckSize
[src]

[src]

The name of the check.

[src]

Run the check.