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.
Click to show internal directories.
Click to hide internal directories.