Skip to main content

parse_lockfile

Function parse_lockfile 

Source
pub fn parse_lockfile(
    source: &str,
    path: Option<&Path>,
) -> Result<Lockfile, LockfileError>
Expand description

Parse a JSON lockfile. If path is supplied, it is attached to any returned error for diagnostic display.