Discover Packages
github.com/go-git/go-billy/v5
helper
temporal
package
Version:
v5.6.1
Opens a new window with list of versions in this module.
Published: Dec 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
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 struct {
billy.Filesystem
}
Temporal is a helper that implements billy.TempFile over any filesystem.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.