Versions in this module Expand all Collapse all v0 v0.1.0 May 27, 2017 Changes in this version + const LockName + const ManifestName + func BackupVendor(vpath, suffix string) (string, error) + func PruneProject(p *Project, sm gps.SourceManager, logger *log.Logger) error + type Analyzer struct + func (a Analyzer) DeriveManifestAndLock(path string, n gps.ProjectRoot) (gps.Manifest, gps.Lock, error) + func (a Analyzer) Info() (string, int) + type Ctx struct + GOPATH string + GOPATHS []string + WorkingDir string + func NewContext(wd string, env []string, loggers *Loggers) (*Ctx, error) + func (c *Ctx) LoadProject(path string) (*Project, error) + func (c *Ctx) SourceManager() (*gps.SourceMgr, error) + func (c *Ctx) SplitAbsoluteProjectRoot(path string) (string, error) + func (c *Ctx) VersionInWorkspace(root gps.ProjectRoot) (gps.Version, error) + type Lock struct + P []gps.LockedProject + SolveMeta SolveMeta + func LockFromSolution(in gps.Solution) *Lock + func (l *Lock) InputHash() []byte + func (l *Lock) MarshalTOML() ([]byte, error) + func (l *Lock) Projects() []gps.LockedProject + type Loggers struct + Err *log.Logger + Out *log.Logger + Verbose bool + type Manifest struct + Constraints gps.ProjectConstraints + Ignored []string + Ovr gps.ProjectConstraints + Required []string + func (m *Manifest) DependencyConstraints() gps.ProjectConstraints + func (m *Manifest) IgnoredPackages() map[string]bool + func (m *Manifest) MarshalTOML() ([]byte, error) + func (m *Manifest) Overrides() gps.ProjectConstraints + func (m *Manifest) RequiredPackages() map[string]bool + func (m *Manifest) TestDependencyConstraints() gps.ProjectConstraints + type Project struct + AbsRoot string + ImportRoot gps.ProjectRoot + Lock *Lock + Manifest *Manifest + func (p *Project) MakeParams() gps.SolveParameters + type SafeWriter struct + Manifest *Manifest + func NewSafeWriter(manifest *Manifest, oldLock, newLock *Lock, vendor VendorBehavior) (*SafeWriter, error) + func (sw *SafeWriter) HasLock() bool + func (sw *SafeWriter) HasManifest() bool + func (sw *SafeWriter) PrintPreparedActions(output *log.Logger) error + func (sw *SafeWriter) Write(root string, sm gps.SourceManager, noExamples bool) error + type SolveMeta struct + AnalyzerName string + AnalyzerVersion int + InputsDigest []byte + SolverName string + SolverVersion int + type SortedLockedProjects []gps.LockedProject + func (s SortedLockedProjects) Len() int + func (s SortedLockedProjects) Less(i, j int) bool + func (s SortedLockedProjects) Swap(i, j int) + type VendorBehavior int + const VendorAlways + const VendorNever + const VendorOnChanged