overlay

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Overlay

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

Overlay layer manager

func New

func New() *Overlay

New creates and returns an overlay layer manager

func (*Overlay) Add

func (o *Overlay) Add(session *layout.Session, system *mount.System) error

Add adds required directory in session layout

func (*Overlay) AddLowerDir

func (o *Overlay) AddLowerDir(path string) error

AddLowerDir adds a lower directory to overlay mount

func (*Overlay) Dir

func (o *Overlay) Dir() string

Dir returns absolute overlay directory within session

func (*Overlay) GetUpperDir

func (o *Overlay) GetUpperDir() string

GetUpperDir returns upper directory path

func (*Overlay) GetWorkDir

func (o *Overlay) GetWorkDir() string

GetWorkDir returns work directory path

func (*Overlay) SetUpperDir

func (o *Overlay) SetUpperDir(path string) error

SetUpperDir sets upper directory to overlay mount

func (*Overlay) SetWorkDir

func (o *Overlay) SetWorkDir(path string) error

SetWorkDir sets work directory to overlay mount

Jump to

Keyboard shortcuts

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