RepoSet class
The combined repository set of a Tom root (see the library comment).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The host whose entries count (reposHostId unless given).
final
- manifest → ReposManifest
-
final
- manifestPath → String
-
The manifest read.
final
-
members
→ List<
RepoSetMember> -
Every repository of the tree, each in its class, sorted by
RepoSetMember.relPath (parents before their children).
final
- root → String
-
The folder holding
repos.yaml(or the root manifestPath was given for), absolute.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
memberAt(
String path) → RepoSetMember? -
The member whose folder is
path(absolute or relative to the working directory), or null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scope(
String start, {String toolBasename = 'buildkit', bool stopAtWorkspaces = true}) → RepoSetScope -
The repositories a git-mode run started in
startworks on: those of the git set (RepoSetMember.inGitSet) on disk at or belowstart. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
skippedFolders
→ Set<
String> -
The always-skipped folder names of git mode's walk: those of project
mode but
_ai(the AI state is a repository of the set).final
Static Methods
-
discover(
String start, {String? manifestPath, String? host}) → RepoSet? -
The set for a run started in
start: from therepos.yamlat or above it, or frommanifestPath(a file; relative tostart). Null when there is neither. Throws ReposManifestException for an invalid manifest.hostdefaults to reposHostId of the root. -
load(
{required String root, String? manifestPath, String? host}) → RepoSet -
The set of
root, read frommanifestPath(default<root>/repos.yaml). Throws ReposManifestException for an invalid manifest and FileSystemException when it cannot be read.