cargo

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LockfileDependencies

func LockfileDependencies(lockfilePath string, dir string) (graph.Deps, error)

LockfileDependencies uses a lockfile and the associated manifest file to create a dependency graph. This method approximates the direct dependencies by selecting all dependencies in the manifest file as direct dependencies and determines the version from the lockfile.

Types

type Package

type Package struct {
	Name         string
	Dependencies []string
	Version      string
	Source       string
}

Package is a single imported repository within a dep project.

Jump to

Keyboard shortcuts

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