Struct git_checks::checks::CheckExecutablePermissions [] [src]

pub struct CheckExecutablePermissions { /* fields omitted */ }

Checks whether a file's executable permissions matches its contents.

Files which look executable but are not marked as such or vice versa are rejected.

Methods

impl CheckExecutablePermissions
[src]

[src]

Create a new check which checks for executable permissions.

Files which end in the given extension are assumed to be executable.

Trait Implementations

impl Debug for CheckExecutablePermissions
[src]

[src]

Formats the value using the given formatter.

impl ContentCheck for CheckExecutablePermissions
[src]

[src]

The name of the check.

[src]

Run the check.