Skip to main content

Module update

Module update 

Source

Re-exportsยง

use crate::DepIdentifier; ๐Ÿ”’
use crate::DepMap; ๐Ÿ”’
use crate::Lockfile; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use clap::ValueHint; ๐Ÿ”’
use eyre::Context; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_cli::opts::Dependency; ๐Ÿ”’
use foundry_cli::utils::Git; ๐Ÿ”’
use foundry_cli::utils::LoadConfig; ๐Ÿ”’
use foundry_common::fs::canonicalize_path; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use foundry_config::impl_figment_convert_basic; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use yansi::Paint; ๐Ÿ”’

Structsยง

UpdateArgs
CLI arguments for forge update.

Functionsยง

dependencies_paths
Returns (root, paths, overridden_deps_with_abosolute_paths) where root is the root of the Git repository and paths are the relative paths of the dependencies.