mount

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OverlayManager

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

OverlayManager handles OverlayFS mounting operations

func NewOverlayManager

func NewOverlayManager(baseDir string, log logger.Logger) (*OverlayManager, error)

NewOverlayManager creates a new overlay manager

func (*OverlayManager) Cleanup

func (om *OverlayManager) Cleanup() error

Cleanup removes overlay directories

func (*OverlayManager) GetMergedDir

func (om *OverlayManager) GetMergedDir() string

GetMergedDir returns the merged directory path

func (*OverlayManager) GetUpperDir

func (om *OverlayManager) GetUpperDir() string

GetUpperDir returns the upper directory path

func (*OverlayManager) MountOverlay

func (om *OverlayManager) MountOverlay(lowerDir string) error

MountOverlay creates an overlay mount

func (*OverlayManager) PrepareFiles

func (om *OverlayManager) PrepareFiles(files map[string]string) error

PrepareFiles prepares files for overlay mounting

func (*OverlayManager) Unmount

func (om *OverlayManager) Unmount() error

Unmount unmounts the overlay

Jump to

Keyboard shortcuts

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