Documentation
¶
Overview ¶
Copyright 2023 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2023 The Chromium Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2023 The ChromiumOS Authors. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct { // Requested full (chromium-review.googlesource.com) or short (chromium) gerrit host. Host string `json:"host"` // Requested gerrit repo, e.g. "chromiumos/chromite". Project string `json:"project"` // Requested branch from the repo, e.g. "main". Branch string `json:"branch"` // Returned HEAD revision from that branch. Revision string `json:"revision"` }
type Change ¶
type Change struct { // Full (chromium-review.googlesource.com) or short (chromium) gerrit host. Host string `json:"host"` // Change number requested. Number int `json:"change_number"` // Patch set number as requested. If in (-1, 0), fetch "current" patch set. PatchSet int `json:"patch_set"` // Change info if found. Info *gerrit.Change `json:"info"` // Patch set info if found. PatchSetRevision string `json:"patch_set_revision"` RevisionInfo *gerrit.RevisionInfo `json:"revision_info"` }
type File ¶
type File struct { // Full (chromium.googlesource.com) or short (chromium) gitiles host. Host string `json:"host"` // Requested gerrit repo, e.g. "chromiumos/chromite". Project string `json:"project"` // Requested reference from the repo, e.g. "12fabada". Ref string `json:"ref"` // Requested file path. Path string `json:"path"` // Returned file content. Content string `json:"content"` }
Click to show internal directories.
Click to hide internal directories.