RepositoryIdLookup class

Lookup helper for repository IDs.

Reads metadata from tom_repository.yaml files in the workspace and resolves repository IDs to repository names for module filtering.

Constructors

RepositoryIdLookup()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

allIds({String? executionRoot}) List<String>
Get all known repository IDs.
allNames({String? executionRoot}) List<String>
Get all known repository names.
clearCache({String? executionRoot}) → void
Clears cached repository metadata lookups.
isRepositoryId(String value, {String? executionRoot}) bool
Check if a value matches a repository ID (case-insensitive).
resolveToName(String value, {String? executionRoot}) String
Resolves a repository ID or name to the actual folder name.