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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.