tmp

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 2 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