depcore

package
v0.0.0-...-330f7ef Latest Latest
Warning

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

Go to latest
Published: May 27, 2014 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BackupPostFix = "_backup_of_dep_update"
View Source
var TempGOPATHPreFix = "gopath_"
View Source
var VERBOSE bool

var DEBUG = false

Functions

func NewTestEnv

func NewTestEnv() *testEnv

Types

type Environment

type Environment struct {
	*gdf.Environment
	TMPDIR string

	IgnorePkgs map[string]bool
	// contains filtered or unexported fields
}

func NewEnv

func NewEnv(gopath string) (ø *Environment)

func (*Environment) CheckIntegrity

func (env *Environment) CheckIntegrity() (conflicts map[string]map[string][3]string)

func (*Environment) Close

func (o *Environment) Close()

close an environment

func (*Environment) Diff

func (o *Environment) Diff(pkg *gdf.Package, includeImportTypeDiffs bool) (diff *pkgDiff, err error)

func (*Environment) Dump

func (env *Environment) Dump() (all []*gdf.Package, err error)

func (*Environment) Get

func (o *Environment) Get(pkgPath string, overrides []*gdf.Package, confirmation func(candidates ...*gdf.Package) bool) (conflicts map[string]map[string][3]string, changed map[string][2]string, err error)

func (*Environment) HasRevFile

func (env *Environment) HasRevFile(pkg string) bool

func (*Environment) Init

func (env *Environment) Init() (conflicts map[string]map[string][3]string)

func (*Environment) Lint

func (env *Environment) Lint(pkg *gdf.Package) error

func (*Environment) NumPkgsInRegistry

func (o *Environment) NumPkgsInRegistry() int

func (*Environment) Open

func (o *Environment) Open()

open an environment

func (*Environment) Register

func (env *Environment) Register(includeImported bool, pkg *gdf.Package) error

func (*Environment) RemoveOrphanedPackages

func (o *Environment) RemoveOrphanedPackages() (candidates map[string]bool, err error)

func (*Environment) RevFile

func (env *Environment) RevFile(pkg string) string

func (*Environment) Track

func (o *Environment) Track(pkg *gdf.Package, recursive bool) (data []byte, err error)

func (*Environment) UnRegister

func (env *Environment) UnRegister(pkgPath string) error

Jump to

Keyboard shortcuts

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