mount

package
v1.0.0-rc13 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMountpoint

func IsMountpoint(target string) (bool, error)

Types

type Mount

type Mount struct {
	Source string
	Target string
	FSType string
	Opts   []string
}

func FindMount

func FindMount(target string) (Mount, bool, error)

func (Mount) GetOverlayDirs

func (m Mount) GetOverlayDirs() ([]string, error)

type Mounts

type Mounts []Mount

func ParseMounts

func ParseMounts(mountinfo string) (Mounts, error)

func (Mounts) FindMount

func (ms Mounts) FindMount(p string) (Mount, bool)

Jump to

Keyboard shortcuts

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