migrate

package
v0.0.0-...-6bd54c5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

package migrate transforms a repository from a given vendor schema to the vendor folder schema.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(from From, root string) error

Migrate from the given system using the given root.

func MigrateWD

func MigrateWD(from From) error

Migrate from the given system using the current working directory.

Types

type From

type From byte

From is the current vendor schema.

const (
	Auto      From = iota // Detect which system it uses.
	Gb                    // Dave's GB
	Godep                 // tools/godep
	Internal              // kardianos/govendor
	OldVendor             // old kardianos/govendor
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL