tmpfs

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs billy.Filesystem, tmp billy.Filesystem) billy.Filesystem

New creates a new filesystem wrapping up 'fs' and using 'tmp' for temporary files. Any file created with TempFile will be created in 'tmp'. It will be moved to 'fs' if Rename is called on it.

This is particularly useful to provide TempFile for filesystems that do not support it or where there is a performance penalty in doing so.

Types

This section is empty.

Jump to

Keyboard shortcuts

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