manifest

package
v0.0.0-...-6d024e5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: BSD-3-Clause Imports: 3 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Copyfile

type Copyfile struct {
	Src  string `xml:"src,attr"`
	Dest string `xml:"dest,attr"`
}

type Default

type Default struct {
	Revision   string `xml:"revision,attr"`
	Remote     string `xml:"remote,attr"`
	DestBranch string `xml:"dest-branch,attr"`
	SyncJ      string `xml:"sync-j,attr"`
	SyncC      string `xml:"sync-c,attr"`
	SyncS      string `xml:"sync-s,attr"`
}

type Linkfile

type Linkfile struct {
	Src  string `xml:"src,attr"`
	Dest string `xml:"dest,attr"`
}

type Manifest

type Manifest struct {
	Default Default   `xml:"default"`
	Remote  Remote    `xml:"remote"`
	Project []Project `xml:"project"`
}

func Parse

func Parse(contents []byte) (*Manifest, error)

func ParseFile

func ParseFile(name string) (*Manifest, error)

type ManifestServer

type ManifestServer struct {
	URL string `xml:"url,attr"`
}

type Project

type Project struct {
	Path         string     `xml:"path,attr"`
	Name         string     `xml:"name,attr"`
	Remote       string     `xml:"remote,attr"`
	Copyfile     []Copyfile `xml:"copyfile"`
	Linkfile     []Linkfile `xml:"linkfile"`
	GroupsString string     `xml:"groups,attr"`
	Groups       map[string]bool

	Revision   string `xml:"revision,attr"`
	DestBranch string `xml:"dest-branch,attr"`
	SyncJ      string `xml:"sync-j,attr"`
	SyncC      string `xml:"sync-c,attr"`
	SyncS      string `xml:"sync-s,attr"`

	Upstream   string `xml:"upstream,attr"`
	CloneDepth string `xml:"clone-depth,attr"`
	ForcePath  string `xml:"force-path,attr"`
}

type Remote

type Remote struct {
	Alias    string `xml:"alias,attr"`
	Name     string `xml:"name,attr"`
	Fetch    string `xml:"fetch,attr"`
	Review   string `xml:"review,attr"`
	Revision string `xml:"revision,attr"`
}

Jump to

Keyboard shortcuts

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