tmp

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	*os.File
}

File wraps a *os.File and also implements a Close method which cleans up the file from the filesystem

func NewFile

func NewFile(dir, pattern string) (*File, error)

func (*File) Close

func (t *File) Close() error

Close closes the file handle and removes the file from the filesystem

Jump to

Keyboard shortcuts

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