tempfs

package
v0.24.13 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	*dirfs.FS
	// contains filtered or unexported fields
}

func New

func New() (*FS, error)

New returns a filesystem that resides inside a temporary folder. After usage, you must call the Close() method in order to delete the files.

func (*FS) Close

func (fsys *FS) Close() error

func (*FS) Scheme added in v0.22.6

func (f *FS) Scheme() string

func (*FS) URLInit added in v0.22.6

func (fsys *FS) URLInit(u *url.URL) (rel path.Relative, err error)

Jump to

Keyboard shortcuts

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