MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / should_update_goldens

Function should_update_goldens

tests/common/golden_support.rs:1–3  ·  view source on GitHub ↗
(suite_env_var: &str)

Source from the content-addressed store, hash-verified

1pub fn should_update_goldens(suite_env_var: &str) -> bool {
2 std::env::var_os("UPDATE").is_some() || std::env::var_os(suite_env_var).is_some()
3}

Callers 2

Calls

no outgoing calls

Tested by 2