Documentation
¶
Overview ¶
Package gitcmd provides Git process helpers for tests that use temporary repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command creates a Git command whose automatic maintenance stays in the command lifecycle, so temporary repository cleanup cannot race a detached maintenance process.
func SetSynchronousMaintenanceEnv ¶
SetSynchronousMaintenanceEnv applies the same lifecycle contract to every Git process started by the current test, including processes created through production command runners. Tests using it must not run in parallel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.