dependency

package
Version: v0.0.0-...-10a2c38 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL