SourceContext class
A SourceContext is a reference to a tree of files.
A SourceContext together with a path point to a unique revision of a single file or directory.
Constructors
-
SourceContext({CloudRepoSourceContext? cloudRepo, GerritSourceContext? gerrit, GitSourceContext? git, Map<
String, String> ? labels}) - SourceContext.fromJson(Map json_)
Properties
- cloudRepo ↔ CloudRepoSourceContext?
-
A SourceContext referring to a revision in a Google Cloud Source Repo.
getter/setter pair
- gerrit ↔ GerritSourceContext?
-
A SourceContext referring to a Gerrit project.
getter/setter pair
- git ↔ GitSourceContext?
-
A SourceContext referring to any third party Git repo (e.g., GitHub).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Labels with user defined metadata.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited