Module foundry_config::utils
source · Expand description
Utility functions
Functions
- Returns the SpecId derived from EvmVersion
- Returns the path of the top-level directory of the working git tree. If there is no working tree, an error is returned.
- Returns the root path to set for the project root
- Returns a list of unique paths to all folders under
rootthat contain afoundry.tomlfile - Returns all available
profilekeys in a given.tomlfile - Loads the config for the current project workspace
- Loads the config for the current project workspace or the provided root path
- Returns the remappings from the given var
- Returns all
Remappings contained in theremappingsstr separated by newlines - Converts the
valinto afigment::Value::Array