enum Agate::FilterFlags

Overview

Flags for filter list loading.

Defined in:

agate/filter.cr

Enum Members

AllowUnsafe = 1_u32

Don't error for safecrlf violations, allow them to continue.

NoSystemAttributes = 2_u32

Don't load /etc/gitattributes (or the system equivalent).

AttributesFromHead = 4_u32

Load attributes from .gitattributes in the root of HEAD.

None = 0_u32
All = 7_u32

Instance Method Summary

Instance Method Detail

def allow_unsafe? #

Returns true if this enum value contains AllowUnsafe


[View source]
def attributes_from_head? #

Returns true if this enum value contains AttributesFromHead


[View source]
def no_system_attributes? #

Returns true if this enum value contains NoSystemAttributes


[View source]
def none? #

[View source]