change

package
v0.1.0-dev10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package change holds the shared code-change identity used across SubmitQueue, Stovepipe, and other repo-local domains. A Change names code to act on via provider URIs; the URI parsers live in the github, phabricator, and git subpackages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	// URIs identifies the change(s) to land (RFC 3986 compliant).
	// The scheme identifies the change provider, and the path contains provider-specific resource identifiers.
	//
	// GitHub is supported by default (though other providers can be added):
	//   Template: "<scheme>://<org>/<repo>/pull/<pr>/<head_commit_sha>"
	//   Example:  "github://uber/submitqueue/pull/123/c3a4d5e6f7890123456789abcdef0123456789ab"
	//   Schemes:  "github", "ghe", "ghes". Head commit SHA must be full 40-char lowercase hex.
	//
	URIs []string `json:"uris"`
}

Change represents a code change identified by URIs from a code change provider (e.g., GitHub Pull Request, Phabricator Diff). The provider is extracted from the URI scheme. The object is immutable after creation.

Directories

Path Synopsis
Package changeutil holds small helpers shared across the entity/change provider subpackages (github, git, ...).
Package changeutil holds small helpers shared across the entity/change provider subpackages (github, git, ...).
Package git parses change IDs that use the git:// URI scheme.
Package git parses change IDs that use the git:// URI scheme.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL