tmp

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dir

type Dir interface {
	io.Closer

	AbsPath() string
}

Dir is a temporary directory.

It must be closed when done.

func NewDir

func NewDir() (Dir, error)

NewDir returns a new Dir.

type File

type File interface {
	io.Closer

	AbsPath() string
}

File is a temporary file

It must be closed when done.

func NewFileWithData

func NewFileWithData(data []byte) (File, error)

NewFileWithData returns a new File.

Jump to

Keyboard shortcuts

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