Theia API Documentation v1.65.0
    Preparing search index...
    • Normalizes glob patterns to be consistent with ripgrep behavior.

      Examples of transformations:

      • ".js" -> "**/.js" (make non-root patterns match anywhere)
      • "src/" -> "src/**" (directory patterns match all contents)
      • "!.log" -> "!**/.log" (negation patterns)
      • "src///file.js" -> "src/**/file.js" (collapse repeated double-star patterns)

      Parameters

      • glob: string

        The glob pattern to normalize

      Returns string

      The normalized glob pattern