lockfile

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockFile

type LockFile struct {
	// contains filtered or unexported fields
}

func New

func New(dirWalker core.DirWalker) *LockFile

func (*LockFile) DepsIter

func (l *LockFile) DepsIter() iter.Seq[models.LockFileInfo]

func (*LockFile) IsEmpty

func (l *LockFile) IsEmpty() bool

IsEmpty check if lock file doesn't have any deps

func (*LockFile) Read

func (l *LockFile) Read(moduleName string) (models.LockFileInfo, error)

Read information about module by its name from lock file github.com/grpc-ecosystem/grpc-gateway v0.0.0-20240502030614-85850831b7bad2b8b60cb09783d8095176f22d98 h1:hRu1vxAH6CVNmz12mpqKue5HVBQP2neoaM/q2DLm0i4=

func (*LockFile) Write

func (l *LockFile) Write(
	moduleName string, revisionVersion string, installedPackageHash models.ModuleHash,
) error

Jump to

Keyboard shortcuts

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