go-billy: git.wegmueller.it/toasterson/go-billy/helper/temporal Index | Files

package temporal

import "git.wegmueller.it/toasterson/go-billy/helper/temporal"


Package Files


func New Uses

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.

type Temporal Uses

type Temporal struct {
    // contains filtered or unexported fields

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

func (*Temporal) TempFile Uses

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

Package temporal imports 2 packages (graph). Updated 2019-05-14. Refresh now. Tools for package owners.