RepoEntry class

One repository of the tree.

Constructors

RepoEntry({required String path, required String url, required RepoKind kind, String? branch, String? pin, List<String>? hosts, String? description})
const

Properties

branch → String?
The branch it follows (every kind but upstream).
final
description → String?
What the repository holds and what it is for, one line; null when the entry has none (tom_repos --check reports that).
final
hashCode → int
The hash code for this object.
no setterinherited
hosts → List<String>?
The fleet hosts that clone it; null: every host, empty: on demand only.
final
kind → RepoKind
final
onDemand → bool
Whether the entry is cloned only when asked for (hosts: []).
no setter
path → String
Relative to the root, with /.
final
pin → String?
The commit an upstream is checked out at.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
The origin remote, as written.
final

Methods

isForHost(String host) → bool
Whether host clones the entry without being asked.
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