Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Trace specifies whether git operations' stdIn/stdOut/err are traced. // NOTE: Currently limited to 'push' operation until we move to internal command package. Trace bool // Root specifies the directory containing git related data (e.g. repos, ...) Root string // TmpDir (optional) specifies the directory for temporary data (e.g. repo clones, ...) TmpDir string // HookPath points to the binary used as git server hook. HookPath string // LastCommitCache holds configuration options for the last commit cache. LastCommitCache LastCommitCacheConfig }
Config defines the configuration for the git package.
type LastCommitCacheConfig ¶
type LastCommitCacheConfig struct { // Mode determines where the cache will be. Mode enum.LastCommitCacheMode // Duration defines cache duration of last commit. Duration time.Duration }
LastCommitCacheConfig holds configuration options for the last commit cache.
Click to show internal directories.
Click to hide internal directories.