gvt

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Importer

type Importer struct {
	*base.Importer
	// contains filtered or unexported fields
}

Importer imports gvt configuration into the dep configuration format.

func NewImporter

func NewImporter(logger *log.Logger, verbose bool, sm gps.SourceManager) *Importer

NewImporter for gvt. It handles gb (gb-vendor) too as they share a common manifest file & format

func (*Importer) HasDepMetadata

func (g *Importer) HasDepMetadata(dir string) bool

HasDepMetadata checks if a directory contains config that the importer can handle.

func (*Importer) Import

func (g *Importer) Import(dir string, pr gps.ProjectRoot) (*dep.Manifest, *dep.Lock, error)

Import the config found in the directory.

func (*Importer) Name

func (g *Importer) Name() string

Name of the importer.

Jump to

Keyboard shortcuts

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