Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MatcherUri

Hierarchy

  • MatcherUri

Index

Constructors

Private constructor

  • new MatcherUri(furi: Furi, negate: boolean): MatcherUri

Properties

Private furi

furi: Furi

Private negate

negate: boolean

Methods

relativeFrom

  • relativeFrom(from: Furi): string
  • Computes an equivalent Minimatch pattern relative to the provided directory.

    Similar to Node's path.relative.

    If the Minimatch pattern is a comment, returns a copy.

    Parameters

    • from: Furi

      POSIX path (relative or absolute) from where the new pattern is computed

    Returns string

    New Minimatch pattern relative to from

toMinimatch

  • toMinimatch(): IMinimatch

toMinimatchString

  • toMinimatchString(): string

Static from

Generated using TypeDoc