Skip to main content

collect_provider_env

Function collect_provider_env 

Source
pub fn collect_provider_env(
    provider_requirements: &[EnvRequirement],
    tool_requirements: &[EnvRequirement],
    prefix: &str,
    provider: &str,
    action: &str,
) -> Result<Vec<(String, String)>, ProviderError>
Expand description

Resolves a provider/tool’s declared env requirements against the process environment. prefix is the caller’s product env-namespace (e.g. "SOMA") — this crate has no product identity of its own, so callers must supply it explicitly rather than this module hard-coding one.