Skip to main content

trusted_git_executable

Function trusted_git_executable 

Source
pub fn trusted_git_executable() -> Result<PathBuf, GitProcessPolicyError>
Expand description

Resolve and validate the fixed root-owned Git entrypoint accepted on Unix.

ยงErrors

Rejects a missing, mutable, non-root-owned, or otherwise unsafe system toolchain.