@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface SandboxFileSystemGrepRequest

    interface SandboxFileSystemGrepRequest {
        callOptions?: CallOptions;
        caseSensitive?: boolean;
        contextLines?: number;
        excludeDirs?: string[];
        filePattern?: string;
        maxResults?: number;
        path: string;
        query: string;
    }
    Index
    callOptions?: CallOptions
    caseSensitive?: boolean

    Whether the search is case sensitive. The sandbox defaults to false.

    contextLines?: number

    How many lines before and after each match to include in its SandboxFileSystemGrepMatch.context, at most 20. None when unset.

    excludeDirs?: string[]

    Directory names to skip. The sandbox defaults to common dependency and build directories, such as node_modules and .git.

    filePattern?: string

    File pattern to include, such as "*.ts".

    maxResults?: number

    Maximum number of results. The sandbox defaults to 100.

    path: string

    Path of the directory to search in.

    query: string

    Text to search for.