Registry
A reverse index answering which labeled pattern-sets apply to a scope or path.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
T | string | The id type carried through from the Labeled entries. |
Methods
Section titled “Methods”applicableTo()
Section titled “applicableTo()”applicableTo(
scope):T[]
Ids whose set OVERLAPS the scope, in registry order. (A subtree scope is written dir/**.)
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
scope | Patterns |
Returns
Section titled “Returns”T[]
matching()
Section titled “matching()”matching(
path):T[]
Ids whose set matches a CONCRETE path, in registry order.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
Returns
Section titled “Returns”T[]
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
entries | readonly | readonly Labeled<T>[] | The entries as supplied, in registration order. |