enum

Hwaro::Models::ContentFilesConfig::IgnoreKind

Inherits Enum < Comparable < Value < Object

How one ignore pattern is tested (see ignore=). Most patterns are a plain name (README.md, _templates) or a plain folder plus /**, which a string compare answers; a glob without **, braces or a […] class (which may match a /) matches only a path of exactly its own depth, so one prefix is tested instead of every ancestor.

A pattern written with a trailing / (gitignore's folder form) matches folders only: _*/ hides _templates/ but not _index.md.

Constants

Literal = 0
Tree = 1
Depth = 2
Anywhere = 3

Instance methods

anywhere?

Returns true if this enum value equals Anywhere

Source
depth?

Returns true if this enum value equals Depth

Source
literal?

Returns true if this enum value equals Literal

Source
tree?

Returns true if this enum value equals Tree

Source