Function wit_deps::update

source ·
pub async fn update(
    at: Option<impl AsRef<Path>>,
    manifest: impl AsRef<str>,
    deps: impl AsRef<Path>,
) -> Result<String>
Expand description

Given a TOML-encoded manifest, ensures that the path pointed to by deps is in sync with the manifest. This is a potentially destructive operation! Returns a TOML-encoded lock on success.

§Errors

Returns an error if anything in the pipeline fails