Skip to main content

update_path

Function update_path 

Source
pub async fn update_path(
    at: Option<&Path>,
    manifest_path: impl AsRef<Path>,
    lock_path: impl AsRef<Path>,
    deps: impl AsRef<Path>,
    packages: impl IntoIterator<Item = &Identifier>,
) -> Result<()>
Expand description

Like update, but reads the manifest at manifest_path and writes the lock at lock_path.

ยงErrors

Returns an error if anything in the pipeline fails