tempfile

package
v0.0.0-...-1092257 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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