Documentation ¶
Index ¶
- Variables
- func NewTestEnv() *testEnv
- type Environment
- func (env *Environment) CheckIntegrity() (conflicts map[string]map[string][3]string)
- func (o *Environment) Close()
- func (o *Environment) Diff(pkg *gdf.Package, includeImportTypeDiffs bool) (diff *pkgDiff, err error)
- func (env *Environment) Dump() (all []*gdf.Package, err error)
- func (o *Environment) Get(pkgPath string, overrides []*gdf.Package, ...) (conflicts map[string]map[string][3]string, changed map[string][2]string, ...)
- func (env *Environment) HasRevFile(pkg string) bool
- func (env *Environment) Init() (conflicts map[string]map[string][3]string)
- func (env *Environment) Lint(pkg *gdf.Package) error
- func (o *Environment) NumPkgsInRegistry() int
- func (o *Environment) Open()
- func (env *Environment) Register(includeImported bool, pkg *gdf.Package) error
- func (o *Environment) RemoveOrphanedPackages() (candidates map[string]bool, err error)
- func (env *Environment) RevFile(pkg string) string
- func (o *Environment) Track(pkg *gdf.Package, recursive bool) (data []byte, err error)
- func (env *Environment) UnRegister(pkgPath string) error
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) Diff ¶
func (o *Environment) Diff(pkg *gdf.Package, includeImportTypeDiffs bool) (diff *pkgDiff, 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) NumPkgsInRegistry ¶
func (o *Environment) NumPkgsInRegistry() int
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) UnRegister ¶
func (env *Environment) UnRegister(pkgPath string) error
Click to show internal directories.
Click to hide internal directories.