lockfile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootNames = []string{
	"package-lock.json",
	"npm-shrinkwrap.json",
	"yarn.lock",
	"pnpm-lock.yaml",
	"poetry.lock",
	"pipfile.lock",
	"go.mod",
	"cargo.lock",
	"gemfile.lock",
	"pom.xml",
	"gradle.lockfile",
	"buildscript-gradle.lockfile",
}

RootNames are lockfiles fetched from a repository root or discovered locally.

Functions

func Ecosystem

func Ecosystem(name string) string

Ecosystem returns the OSV ecosystem label for a root lockfile name.

func IsRootName

func IsRootName(name string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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