feedback

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ConsTypeConstraint = "constraint"

Constraint types

View Source
const ConsTypeHint = "hint"
View Source
const DepTypeDirect = "direct dep"

Dependency types

View Source
const DepTypeTransitive = "transitive dep"

Variables

This section is empty.

Functions

func GetLockingFeedback

func GetLockingFeedback(version, revision, depType, projectPath string) string

GetLockingFeedback returns dependency locking feedback string. Example: Locking in v1.1.4 (bc29b4f) for direct dep github.com/foo/bar Locking in master (436f39d) for transitive dep github.com/baz/qux

func GetUsingFeedback

func GetUsingFeedback(version, consType, depType, projectPath string) string

GetUsingFeedback returns dependency using feedback string. Example: Using ^1.0.0 as constraint for direct dep github.com/foo/bar Using 1b8edb3 as hint for direct dep github.com/bar/baz

Types

type ConstraintFeedback

type ConstraintFeedback struct {
	Version, LockedVersion, Revision, ConstraintType, DependencyType, ProjectPath string
}

ConstraintFeedback holds project constraint feedback data

func (ConstraintFeedback) LogFeedback

func (cf ConstraintFeedback) LogFeedback(ctx *dep.Ctx)

LogFeedback logs the feedback

Jump to

Keyboard shortcuts

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