RepoSummary class

One repository as the VTC records it.

Constructors

RepoSummary({required RepoResource resource, ForgeId? forgeId, required RepoVisibility visibility, required RepoSummaryState state, required List<Did> owners, required Bootstrap bootstrap, required Sync sync})
const
RepoSummary.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

bootstrap → Bootstrap
final
forgeId → String?
The forge's repository id. Absent until the forge has confirmed the repository exists (a pendingCreate repository, or one adopted in bridge mode before the first inspection).
final
hashCode → int
The hash code for this object.
no setterinherited
owners → List<Did>
The DIDs holding git.repo.own on this repository by an explicit grant. Empty only for an unmanaged repository, and for an orphaned one whose ownership rests with the namespace admins by implication.
final
resource → ForgeHost
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → RepoSummaryState
pendingCreate — the name is reserved and the repository is not yet confirmed on the forge. active — managed. archived — archived through git-ns/repo/archive; commit rights on it are revoked. detached — no longer governed: its namespace was unbound, or it moved outside the namespace. orphaned — its last owner left the community and ownership passed to the namespace admins, who have not yet named a new owner. unmanaged — it exists on the forge inside a bound namespace but was never created or adopted through the VTC.
final
sync → Sync
final
visibility → RepoVisibility
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → ForgeHost
A string representation of this object.
inherited

Operators

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