MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / git_subprocess_path

Function git_subprocess_path

src/config.rs:567–578  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565
566#[cfg(test)]
567fn git_subprocess_path() -> OsString {
568 std::env::var_os("PATH").unwrap_or_else(|| {
569 #[cfg(windows)]
570 {
571 OsString::new()
572 }
573 #[cfg(not(windows))]
574 {
575 OsString::from("/usr/bin:/bin")
576 }
577 })
578}
579
580#[cfg(not(test))]
581fn git_subprocess_path() -> OsString {

Calls

no outgoing calls