pub fn push_deadline(environment: &[(OsString, OsString)]) -> DurationExpand description
What: The push deadline: the environment’s value, or the default. Why: A person may need a longer deadline on a slow link or a shorter one on a flaky one.
In TS you’d write (pseudocode):
const deadlineMs = secondsOf(env.CLI_GIT_PUSH_DEADLINE_SECONDS) ?? DEFAULT_MS;