Skip to main content

WatcherIgnore

Constructors

Constructor

new WatcherIgnore(cwd): WatcherIgnore

Parameters

ParameterType

cwd

string

Returns

WatcherIgnore

Methods

ignore()

ignore(pattern): void

Parameters

ParameterType

pattern

MatchPattern

Returns

void


isIgnored()

isIgnored(path): boolean

Parameters

ParameterType

path

string

Returns

boolean


isMicromatch()

isMicromatch(pattern): boolean

Parameters

ParameterType

pattern

string

Returns

boolean


resolveFile()

resolveFile(file): string

Parameters

ParameterType

file

string

Returns

string


unignore()

unignore(pattern): void

Parameters

ParameterType

pattern

MatchPattern

Returns

void