test

package
v0.0.0-...-a0c70a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempDir

func TempDir() string

TempDir returns the current tempdir

func TempFile

func TempFile(t *testing.T) string

TempFile calculates the debian package filename based on os.TempDir() and t.Name()

func TempOpenPGPIdentity

func TempOpenPGPIdentity() (e *openpgp.Entity, err error)

TempOpenPGPIdentity creates a new identity in TempDir()

func WriteTempFile

func WriteTempFile(filename, data string) (filepath string, err error)

WriteTempFile writes data to TempDir()/filename

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL