Dynamic module minimatch

Index

Functions

Functions

M(target: string, pattern: string, options?: IOptions)

Parameters

  • target: string
  • pattern: string
  • options?: IOptions optional

Minimatch: IMinimatchStatic

IMinimatch: IMinimatch

public braceExpand(pattern: string, options: IOptions)

Parameters

public debug()

public make()

public makeRe(): RegExp

Returns

RegExp

public match(file: string): boolean

Parameters

  • file: string

Returns

boolean

public matchOne(files: Array<string>, pattern: Array<string>, partial: any): boolean

Parameters

  • files: Array<string>
  • pattern: Array<string>
  • partial: any

Returns

boolean

public parse(pattern: string, isSub?: boolean)

Parameters

  • pattern: string
  • isSub?: boolean optional

public parseNegate()

IMinimatchStatic: IMinimatchStatic

constructor(pattern: string, options?: IOptions): IMinimatch

Parameters

  • pattern: string
  • options?: IOptions optional

Returns

IMinimatch

IOptions: IOptions

optional public debug?: boolean

optional public dot?: boolean

optional public flipNegate?: boolean

optional public matchBase?: boolean

optional public nobrace?: boolean

optional public nocase?: boolean

optional public nocomment?: boolean

optional public noext?: boolean

optional public noglobstar?: boolean

optional public nonegate?: boolean

optional public nonull?: boolean

filter(pattern: string, options?: IOptions): (target: string) => boolean

Parameters

  • pattern: string
  • options?: IOptions optional

Returns

(target: string) => boolean

match(filenames: Array<string>, pattern: string, options?: IOptions): Array<string>

Parameters

  • filenames: Array<string>
  • pattern: string
  • options?: IOptions optional

Returns

Array<string>