temporal

package
v4.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs billy.Filesystem, defaultDir string) billy.Filesystem

New creates a new filesystem wrapping up 'fs' the intercepts the calls to the TempFile method. The param defaultDir is used as default directory were the tempfiles are created.

Types

type Temporal

type Temporal struct {
	billy.Filesystem
	// contains filtered or unexported fields
}

Temporal is a helper that implements billy.TempFile over any filesystem.

func (*Temporal) TempFile

func (h *Temporal) TempFile(dir, prefix string) (billy.File, error)

Jump to

Keyboard shortcuts

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