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

package importers

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

Index

Package Files

importers.go

type Importer Uses

type Importer interface {
    // Name of the importer.
    Name() string

    // Import the config found in the directory.
    Import(path string, pr gps.ProjectRoot) (*dep.Manifest, *dep.Lock, error)

    // HasDepMetadata checks if a directory contains config that the importer can handle.
    HasDepMetadata(dir string) bool
}

Importer handles importing configuration from other dependency managers into the dep configuration format.

func BuildAll Uses

func BuildAll(logger *log.Logger, verbose bool, sm gps.SourceManager) []Importer

BuildAll returns a slice of all the importers.

Directories

PathSynopsis
base
glide
glock
godep
govend
govendor
gvt
importertest
vndr

Package importers imports 10 packages (graph) and is imported by 2 packages. Updated 2018-03-20. Refresh now. Tools for package owners.