Skip to main content

system_config_for

Function system_config_for 

Source
pub fn system_config_for(variables: &[(OsString, OsString)]) -> Option<PathBuf>
Expand description

What: The system configuration path the Git a child would run reads, learned from the forward-target variable the wrapper puts in every child’s environment. Why: None (no variable, no identity, no answer) makes the readers decline whenever the system file would be read.

In TS you’d write (pseudocode):

const path = systemConfigFor(env); // undefined: unknown