Function lal::update
[−]
[src]
pub fn update<T: CachedBackend + ?Sized>(
manifest: &Manifest,
backend: &T,
components: Vec<String>,
save: bool,
savedev: bool,
env: &str
) -> LalResult<()>
Update specific dependencies outside the manifest
Multiple "components=version" strings can be supplied, where the version is optional. If no version is supplied, latest is fetched.
If installation was successful, the fetched tarballs are unpacked into ./INPUT
.
If one save
or savedev
was set, the fetched versions are also updated in the
manifest. This provides an easy way to not have to deal with strict JSON manually.