RepoSetMember class

One repository of a RepoSet.

Constructors

RepoSetMember({required String path, required String relPath, required RepoClass repoClass, RepoEntry? entry, bool isRoot = false, String? expectedBranch, String? url})
const

Properties

entry → RepoEntry?
Its entry in repos.yaml (RepoClass.entry, RepoClass.missing).
final
expectedBranch → String?
The branch it should be on: the entry's branch:, root.branch, a quest repository's from _ai/quests.yaml; null when none is known (an upstream has a pin instead, an unknown clone has no record).
final
hashCode → int
The hash code for this object.
no setterinherited
inGitSet → bool
Whether the git commands take it by default: the root and every entry but an upstream, and the quest clones.
no setter
isRoot → bool
Whether it is the root repository (root: of repos.yaml).
final
kind → RepoKind?
The entry's kind, or null (the root, a quest clone, ...).
no setter
kindName → String
What %{repo.kind} says: root, the entry's kind (code, fork, ai, binaries, upstream), else the class (questClone, ...).
no setter
onDisk → bool
Whether its folder is a clone on disk.
no setter
path → String
Absolute, normalized.
final
pin → String?
The commit an upstream is pinned to.
no setter
relPath → String
From the root, with /; '' for the root itself.
final
repoClass → RepoClass
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
Its origin URL as recorded (entry, root, _ai/quests.yaml), or null.
final

Methods

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

Operators

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