vndr

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 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 vndr configuration into the dep configuration format.

func NewImporter

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

NewImporter for vndr.

func (*Importer) HasDepMetadata

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

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

func (*Importer) Import

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

Import the config found in the directory.

func (*Importer) Name

func (v *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