Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2024 v0.1.0 Nov 26, 2021 Changes in this version + func GetLayerForDirEntry(d fs.DirEntry) (fs.FS, error) + type DirEntry struct + func (d *DirEntry) GetFs() fs.FS + func (d *DirEntry) Info() (fs.FileInfo, error) + type DirFile struct + func (f *DirFile) GetFs() fs.FS + func (f *DirFile) ReadDir(n int) ([]fs.DirEntry, error) + type FileInfo struct + func (f *FileInfo) GetFs() fs.FS + type LayerFs struct + func New(layers ...fs.FS) *LayerFs + func (fsys *LayerFs) Open(name string) (fs.File, error) + func (fsys *LayerFs) ReadDir(name string) ([]fs.DirEntry, error) + func (fsys *LayerFs) ReadFile(name string) ([]byte, error) + func (fsys *LayerFs) Stat(name string) (fs.FileInfo, error)