Documentation ¶
Index ¶
- type TempDir
- func (tempDir *TempDir) ExecQuickhook(arg ...string) (string, error)
- func (tempDir *TempDir) MkdirAll(relativePath ...string)
- func (tempDir *TempDir) NewCommand(name string, arg ...string) *exec.Cmd
- func (tempDir *TempDir) RequireExec(name string, arg ...string)
- func (tempDir *TempDir) WriteFile(relativePath []string, data string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TempDir ¶
func NewTempDir ¶
Depth should be the depth of the tests from the package root: this is needed to correctly find the built quickhook binary for integration testing.
func (*TempDir) ExecQuickhook ¶
func (*TempDir) NewCommand ¶
func (*TempDir) RequireExec ¶
Click to show internal directories.
Click to hide internal directories.