file

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(t *testing.T, path string) (*os.File, string)

Create a new file in a new test directory. Returns the open file pointer and the path.

func CreateEmpty

func CreateEmpty(t *testing.T, path string) string

Create an empty file in a new test directory and return its path.

func NewPath

func NewPath(t *testing.T, path string) string

Create a new test directory and it join with path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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