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<()>
Like update, but reads the manifest at manifest_path and writes the lock at lock_path.
manifest_path
lock_path
Returns an error if anything in the pipeline fails