pub fn detect_env(root: &Path) -> BTreeMap<String, String>
Detect repository environment settings (such as UV_FROZEN and UV_OFFLINE).