Documentation
¶
Overview ¶
Package testutil provides helpers shared across test packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
Repo is a fully initialized local repo in a temp directory, for use in tests.
func NewRepo ¶
NewRepo creates a temp directory, initializes the store and index, and registers cleanup. Tests that use this must NOT call t.Parallel() if they also change the working directory.
Click to show internal directories.
Click to hide internal directories.