Type Alias: DirectorySearchOpts
DirectorySearchOpts =
object
Properties​
dotall?​
optionaldotall:boolean
Allow the . pattern to match newlines in multiline mode.
filesOnly?​
optionalfilesOnly:boolean
Only return matching files, not lines and content
globs?​
optionalglobs:string[]
Glob patterns to match (e.g., "*.md")
insensitive?​
optionalinsensitive:boolean
Enable case-insensitive matching.
limit?​
optionallimit:number
Limit the number of results to return
literal?​
optionalliteral:boolean
Interpret the pattern as a literal string instead of a regular expression.
multiline?​
optionalmultiline:boolean
Enable searching across multiple lines.
paths?​
optionalpaths:string[]
Directory or file paths to search
pattern​
pattern:
string
The text to match.
skipHidden?​
optionalskipHidden:boolean
Skip hidden files (files starting with .).
skipIgnored?​
optionalskipIgnored:boolean
Honor .gitignore, .ignore, and .rgignore files.