glide

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: BSD-3-Clause Imports: 12 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 glide configuration into the dep configuration format.

func NewImporter

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

NewImporter for glide.

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