//! Contains functions to retrieve ament resource index prefixes.
//!
//! Prefixes are system paths separated by a colon.
use crateAMENT_PREFIX_PATH_ENV_VAR;
/// Returns the list of prefixes defined in the `AMENT_PREFIX_PATH` environment variable.
///
/// # Errors
///
/// A `std::env::VarError` is returned if the `AMENT_PREFIX_PATH` environment variable is not set.
/// Returns the list of prefixes defined in the given environment variable.
///
/// # Errors
///
/// A `std::env::VarError` is returned if the given environment variable is not set.
/// Returns the list of prefixes defined in the given string.