export_profile_env(
env: MutableMapping[str, str],
) -> None| Name | Type | Description |
|---|---|---|
env* | MutableMapping[str, str] | Environment mapping to update in place. |
Pin the resolved profile selection into a child environment.
Writes the resolved root, then sets or clears the defaulted/configured marker, so a child reconstructs the same snapshot the parent captured. Both keys are always written. The marker is removed rather than left in place when the profile is configured, because a stale inherited marker would describe a profile it no longer applies to.