Interface RelativePattern

A relative pattern is a helper to construct glob patterns that are matched relatively to a base URI. The common value for a baseUri is a workspace folder root, but it can be another absolute URI as well.

3.17.0

interface RelativePattern {
    baseUri: string | WorkspaceFolder;
    pattern: string;
}

Properties

Properties

baseUri: string | WorkspaceFolder

A workspace folder or a base URI to which this pattern will be matched against relatively.

pattern: string

The actual glob pattern;