dependency

package
v0.0.6-windows4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency interface {
	Load() (*ProtoDep, error)
	IsNeedWriteLockFile() bool
}

func NewDependency

func NewDependency(targetDir string, forceUpdate bool) Dependency

type DependencyImpl

type DependencyImpl struct {
	// contains filtered or unexported fields
}

func (*DependencyImpl) IsNeedWriteLockFile

func (d *DependencyImpl) IsNeedWriteLockFile() bool

func (*DependencyImpl) Load

func (d *DependencyImpl) Load() (*ProtoDep, error)

type ProtoDep

type ProtoDep struct {
	ProtoOutdir  string               `toml:"proto_outdir"`
	Dependencies []ProtoDepDependency `toml:"dependencies"`
}

type ProtoDepDependency

type ProtoDepDependency struct {
	Target   string   `toml:"target"`
	Revision string   `toml:"revision"`
	Branch   string   `toml:"branch"`
	Path     string   `toml:"path"`
	Ignores  []string `toml:"ignores"`
}

func (*ProtoDepDependency) Directory

func (d *ProtoDepDependency) Directory() string

func (*ProtoDepDependency) Repository

func (d *ProtoDepDependency) Repository() string

Jump to

Keyboard shortcuts

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