Documentation
¶
Index ¶
- func ChooseClosestWithManager(manifestDir, repoRoot string, detectors []DetectorWithManager) (*string, *string)
- func Detect(manifestDir, repoRoot string, lockfileNames ...string) *string
- func PathDepth(relPath string) int
- func PropagateDevFlag(edges []models.DepsTreeEdge, rootKey string)
- type DetectorFunc
- type DetectorWithManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseClosestWithManager ¶
func ChooseClosestWithManager(manifestDir, repoRoot string, detectors []DetectorWithManager) (*string, *string)
func PropagateDevFlag ¶
func PropagateDevFlag(edges []models.DepsTreeEdge, rootKey string)
PropagateDevFlag marks edges as Dev when their ChildKey is only reachable through dev root edges. Root edges are identified by ParentKey == rootKey.
Types ¶
type DetectorFunc ¶
type DetectorWithManager ¶
type DetectorWithManager struct {
Detect DetectorFunc
Manager string
}
Click to show internal directories.
Click to hide internal directories.