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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Manifest ¶
type Manifest struct { XMLName xml.Name `xml:"manifest"` Projects []Project `xml:"project"` Remotes []Remote `xml:"remote"` Notice string `xml:"notice"` RepoHooks RepoHooks `xml:"repo-hooks"` }
func (Manifest) Diff ¶
func (m Manifest) Diff(to Manifest) ManifestDiff
func (*Manifest) LoadFromXmlFile ¶
type ManifestDiff ¶
type ManifestDiff struct { ChangedProjects []ProjectDiff `json:"changed_projects"` AddedProjectPaths []string `json:"added_project_paths"` RemovedProjectPaths []string `json:"removed_project_paths"` }
type Project ¶
type Project struct { XMLName xml.Name `xml:"project"` Annotations []Annotation `xml:"annotation"` CopyFile CopyFile `xml:"copyfile"` Groups string `xml:"groups,attr"` Name string `xml:"name,attr"` Path string `xml:"path,attr"` Remote string `xml:"remote,attr"` Revision string `xml:"revision,attr"` SyncC bool `xml:"sync-c,attr"` Upstream string `xml:"upstream,attr"` }
type ProjectDiff ¶
Click to show internal directories.
Click to hide internal directories.