dotnet

package
v0.7.31 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPackageReferenceFile added in v0.7.27

func IsPackageReferenceFile(filename string) bool

IsPackageReferenceFile checks for a valid package reference file name.

func NuspecGraph added in v0.7.27

func NuspecGraph(file string) (graph.Deps, error)

func PackageConfigGraph added in v0.7.27

func PackageConfigGraph(file string) (graph.Deps, error)

PackageConfigGraph reads a `packages.config` file and returns a dependency graph.

func PackageReferenceGraph added in v0.7.27

func PackageReferenceGraph(file string) (graph.Deps, error)

PackageReferenceGraph reads a package reference file and returns a dependency graph.

func Path

func Path(s string) string

func ProjectGraph added in v0.7.27

func ProjectGraph(target string) (graph.Deps, error)

func Projects added in v0.7.27

func Projects(projects map[string]Manifest, projectFile string) error

Projects recursively discovers references to other manifest files from the base manifest file.

func ResolveStrategy added in v0.7.27

func ResolveStrategy(target, dir string) (graph.Deps, error)

Types

type Dependencies added in v0.7.27

type Dependencies struct {
	Groups []Group `xml:"group"`
}

type Dependency added in v0.7.27

type Dependency struct {
	ID      string `xml:"id,attr"`
	Version string `xml:"version,attr"`
}

type DotNET

type DotNET struct {
	Cmd     string
	Version string
}

func (*DotNET) Build

func (d *DotNET) Build(dir string) error

type Group added in v0.7.27

type Group struct {
	Dependencies []Dependency `xml:"dependency"`
}

type ItemGroup

type ItemGroup struct {
	Reference        []Reference
	PackageReference []Reference
	ProjectReference []Reference
}

type Lockfile

type Lockfile struct {
	Version int
	Targets map[string]map[string]Target
	// contains filtered or unexported fields
}

type Manifest

type Manifest struct {
	PropertyGroup []PropertyGroup
	ItemGroup     []ItemGroup
}

func (*Manifest) Name

func (m *Manifest) Name() string

func (*Manifest) Version

func (m *Manifest) Version() string

type Metadata

type Metadata struct {
	ID           string       `xml:"id"`
	Version      string       `xml:"version"`
	Dependencies Dependencies `xml:"dependencies"`
}

type NuSpec

type NuSpec struct {
	Metadata Metadata `xml:"metadata"`
}

type Package added in v0.7.27

type Package struct {
	ID      string `xml:"id,attr"`
	Version string `xml:"version,attr"`
}

type Packages added in v0.7.27

type Packages struct {
	Package []Package `xml:"package"`
}

type Project added in v0.7.27

type Project struct {
	Version      string                 `json:"version"`
	Dependencies map[string]interface{} `json:"dependencies"`
}

type PropertyGroup

type PropertyGroup struct {
	RootNamespace string
	Version       string
}

type Reference

type Reference struct {
	Include string `xml:",attr"`
	Version string `xml:"Version"`
}

type Target

type Target struct {
	Type         string
	Dependencies map[string]string
}

Jump to

Keyboard shortcuts

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