forc_pkg::lock

Type Alias PkgDepLine

Source
pub type PkgDepLine = String;
Expand description

PkgDepLine is a terse, single-line, git-diff-friendly description of a package’s dependency. It is formatted like so:

(<dep_name>) <pkg_name> <source_string> (<salt>)

The (<dep_name>) segment is only included in the uncommon case that the dependency name does not match the package name, i.e. if the package field was specified for the dependency.

The source string is included in order to be able to uniquely distinguish between multiple different versions of the same package.

Aliased Type§

struct PkgDepLine { /* private fields */ }