mergefs

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	// contains filtered or unexported fields
}

func Merge

func Merge(fileSystems ...fs.FS) *FS

Merge the filesystems together. When there are conflicts, the earlier filesystem has priority.

func (*FS) Open

func (f *FS) Open(path string) (fs.File, error)

Open finds the first path in fileSystems

Jump to

Keyboard shortcuts

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