Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.22 KB

File metadata and controls

26 lines (23 loc) · 1.22 KB

Glob

Fast file pattern matching. Supports glob patterns like "/*.js" or "src//*.ts". Returns matching file paths sorted by modification time.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "pattern": {
      "description": "The glob pattern to match files against",
      "type": "string"
    },
    "path": {
      "description": "The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter \"undefined\" or \"null\" - simply omit it for the default behavior. Must be a valid directory path if provided.",
      "type": "string"
    }
  },
  "required": [
    "pattern"
  ],
  "additionalProperties": false
}