lockfile

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChooseClosestWithManager

func ChooseClosestWithManager(manifestDir, repoRoot string, detectors []DetectorWithManager) (*string, *string)

func Detect

func Detect(manifestDir, repoRoot string, lockfileNames ...string) *string

func PathDepth

func PathDepth(relPath string) int

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 DetectorFunc func(manifestDir, repoRoot string) *string

type DetectorWithManager

type DetectorWithManager struct {
	Detect  DetectorFunc
	Manager string
}

Jump to

Keyboard shortcuts

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