View Source GenLSP.Structures.RelativePattern (gen_lsp v0.10.0)
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.
@since 3.17.0
Link to this section Summary
Functions
Fields
- base_uri: A workspace folder or a base URI to which this pattern will be matched against relatively.
- pattern: The actual glob pattern;
Link to this section Types
@type t() :: %GenLSP.Structures.RelativePattern{ base_uri: GenLSP.Structures.WorkspaceFolder.t() | GenLSP.BaseTypes.uri(), pattern: GenLSP.TypeAlias.Pattern.t() }
Link to this section Functions
fields
Fields
- base_uri: A workspace folder or a base URI to which this pattern will be matched against relatively.
- pattern: The actual glob pattern;