dep: github.com/golang/dep/internal/importers/gvt Index | Files

package gvt

import "github.com/golang/dep/internal/importers/gvt"

Index

Package Files

importer.go

type Importer Uses

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

Importer imports gvt configuration into the dep configuration format.

func NewImporter Uses

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 Uses

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

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

func (*Importer) Import Uses

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

Import the config found in the directory.

func (*Importer) Name Uses

func (g *Importer) Name() string

Name of the importer.

Package gvt imports 9 packages (graph) and is imported by 13 packages. Updated 2018-01-21. Refresh now. Tools for package owners.