Documentation
¶
Overview ¶
Package testutil takes care of initializing a local git repository for testing. The 'remote' should match the one specified in config/mock.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCommitTestRepo ¶
GitCommitTestRepo performs a commit on the test repository, and returns its Oid as well as a cleanup function to revert those changes.
func GitInitTestRepo ¶
GitInitTestRepo coppies test-fixtures to os.TempDir() and performs a git-init on directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.