class Ignore::Pattern

Overview

Represents a single gitignore pattern

Defined in:

ignore/pattern.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pattern : String, base_path : String = "") #

Instance Method Detail

def anchored? : Bool #

def base_path : String #

def directory_only? : Bool #

def matches?(path : String) : Bool #

def negated? : Bool #

def pattern : String #