Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_change_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct {
// URIs identifying the change(s) (RFC 3986 compliant). The scheme identifies the
// change provider, and the path contains provider-specific resource identifiers.
//
// Supported by default (other providers can be added):
//
// GitHub PR: "github://<org>/<repo>/pull/<pr>/<head_commit_sha>"
// ("ghe"/"ghes" schemes for GitHub Enterprise)
// git commit: "git://<remote>/<repo>/<ref>/<commit_sha>"
// (<ref> is a fully-qualified, percent-encoded git ref)
//
// The commit SHA must be the full 40-character lowercase hex SHA; abbreviated
// SHAs are rejected because downstream staleness checks compare by strict equality.
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
// contains filtered or unexported fields
}
Change represents a code change identified by URIs from a code change provider (e.g. a GitHub Pull Request, a Phabricator Diff, or a git commit). The provider is extracted from the URI scheme.
This is the shared wire contract for change identity, reused across SubmitQueue, Stovepipe, and other repo-local domains — the proto-level analog of the platform/base/change Go entity. Domains import it rather than redefining their own.
func (*Change) Descriptor
deprecated
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶
func (x *Change) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.