Function comparePatternAndPath

  • Matches the given path, with the pattern and determines, if the path might affect the given pattern.

    Example

    path = "a/b/c"; pattern = "a/#"; => totalPath = "a/b/c"; diffPath = "b/c"
    

    Author

    M.Karkowski

    Export

    Returns

    Parameters

    • pathPattern: string

      The pattern to test

    • contentPath: string

      The path to use as basis

    • options: {
          matchTopicsWithoutWildcards?: boolean;
      } = ...
      • Optional matchTopicsWithoutWildcards?: boolean

    Returns TPathCompareResult

Generated using TypeDoc