Documentation ¶ Index ¶ type Opts func WithTarget(dir string) Opts func WithWorkDir(dir string) Opts type Overlay func New(lowerDir, upperDir string, mounter mounter.Interface, fs vfs.FS, opts ...Opts) (*Overlay, error) func (o *Overlay) Mount() (string, error) func (o *Overlay) Unmount() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Opts ¶ type Opts func(*Overlay) func WithTarget ¶ func WithTarget(dir string) Opts func WithWorkDir ¶ func WithWorkDir(dir string) Opts type Overlay ¶ type Overlay struct { // contains filtered or unexported fields } func New ¶ func New(lowerDir, upperDir string, mounter mounter.Interface, fs vfs.FS, opts ...Opts) (*Overlay, error) func (*Overlay) Mount ¶ func (o *Overlay) Mount() (string, error) func (*Overlay) Unmount ¶ func (o *Overlay) Unmount() error Source Files ¶ View all Source files overlay.go Click to show internal directories. Click to hide internal directories.