glock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: BSD-3-Clause Imports: 10 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 glock configuration into the dep configuration format.

func NewImporter

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

NewImporter for glock.

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