enum Agate::AttrCheck

Overview

Flags controlling how attributes are looked up.

Defined in:

agate/attr.cr

Enum Members

IndexThenFile = 1_u32

Check the index first, then the working directory (default is the reverse).

IndexOnly = 2_u32

Check the index only, ignoring the working directory.

NoSystem = 4_u32

Skip the system-level gitattributes file.

IncludeHead = 8_u32

Include attributes from HEAD's .gitattributes.

None = 0_u32
All = 15_u32

Instance Method Summary

Instance Method Detail

def include_head? #

Returns true if this enum value contains IncludeHead


[View source]
def index_only? #

Returns true if this enum value contains IndexOnly


[View source]
def index_then_file? #

Returns true if this enum value contains IndexThenFile


[View source]
def no_system? #

Returns true if this enum value contains NoSystem


[View source]
def none? #

[View source]