Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirEntry ¶
DirEntry wraps a fs.DirEntry and keeps a reference to the source layer. (implements fs.DirEntry).
type DirFile ¶
DirFile wraps a fs.File and allows ReadDir to read entries from layerfs instead of the source layer dir. (implements fs.File and fs.ReadDirFile).
type FileInfo ¶
FileInfo wraps a fs.FileInfo and keeps a reference to the source layer. (implements fs.FileInfo).
type LayerFs ¶
type LayerFs struct {
// contains filtered or unexported fields
}
LayerFs implements several interfaces from io/fs and delegates function calls sequentially to the underlying layers until one does not return an error. If all layers return errors, LayerFs returns an error In case of ReadDir LayerFs merges the DirEntry instances returned by the underlying layers.
Click to show internal directories.
Click to hide internal directories.