osfstest

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupPath

func SetupPath(t testing, file string) (fileName string, teardown func())

SetupPath creates a temporary directory and a test file, based on the passed file name. The path to the temporary test file and a teardown function for deleting the temporary directory are returned. On failure the Fatal method of t will be executed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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