tempfile

package
v0.0.0-...-03d6637 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2015 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package tempfile provides tools to create and delete temporary files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

Cleanup removes any temporary files selected for deferred cleaning.

func DeferDelete

func DeferDelete(path string)

DeferDelete marks a file to be deleted by next call to Cleanup()

func New

func New(dir, prefix, suffix string) (*os.File, error)

New returns an unused filename for output files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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