RepoView class
Constructors
-
RepoView({List<String> branches = const [], String? cloneUrl, String? createdAt, String? defaultBranch, String? description, String? head, String? id, String? name, String? org, String? project, bool? public, int? sizeBytes, String? sshUrl, String? updatedAt})
-
Returns a new RepoView instance.
Properties
-
branches
↔ List<String>
-
Branches are the repo's branch names. Read live, so the detail view carries them and a list row does not.
getter/setter pair
-
cloneUrl
↔ String?
-
CloneURL is the HTTPS smart-HTTP remote
git clone takes.
getter/setter pair
-
createdAt
↔ String?
-
CreatedAt is RFC 3339 UTC.
getter/setter pair
-
defaultBranch
↔ String?
-
DefaultBranch is where HEAD points on a fresh repo ("main").
getter/setter pair
-
description
↔ String?
-
Description is the caller-supplied blurb (max 4KiB).
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
head
↔ String?
-
Head is the resolved HEAD commit, empty on an empty repo.
getter/setter pair
-
id
↔ String?
-
ID is the repo's stable, prefixed identifier ("repo_" + 128 random bits).
getter/setter pair
-
name
↔ String?
-
Name is the org-unique handle, and the last path segment of both URLs below.
getter/setter pair
-
org
↔ String?
-
Org owns the repo — the gateway-minted X-Org-Id, and the isolation key.
getter/setter pair
-
project
↔ String?
-
Project is the optional sub-scope the repo lives in; absent for the org's default scope.
getter/setter pair
-
public
↔ bool?
-
Public grants ANONYMOUS read (fetch) only; push and the whole control plane stay org-authed.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizeBytes
↔ int?
-
SizeBytes is the repo's measured on-disk size, re-measured on create, after each push, and after a gc. This is the number billing meters.
getter/setter pair
-
sshUrl
↔ String?
-
SSHURL is the scp-style SSH remote (git@host:org/repo.git).
getter/setter pair
-
updatedAt
↔ String?
-
UpdatedAt is RFC 3339 UTC, empty until the first write.
getter/setter pair