Function wit_deps::lock_path

source ·
pub async fn lock_path(
    manifest_path: impl AsRef<Path>,
    lock_path: impl AsRef<Path>,
    deps: impl AsRef<Path>,
) -> Result<bool>
Expand description

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

Returns true if the lock was updated and false otherwise.

§Errors

Returns an error if anything in the pipeline fails