chainfs

package module
v0.0.0-...-61b4a29 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 2 Imported by: 0

README

Chainfs

A go package which chains together filesystems so that you can combine fs.FS filesystems.

chainfs.FS keeps looking through a slice of fs.FS filesytems in order to find a given file. It returns the first match.

Go Reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	Filesystems []fs.FS
}

func (FS) Open

func (cfs FS) Open(name string) (fs.File, error)

Open opens the named file.

Jump to

Keyboard shortcuts

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