mount

package
v0.0.0-...-50458b4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MountTypes map[string]func(string, string) error

Functions

func GetOverlayDirs

func GetOverlayDirs(m Mount) []string

Types

type Mount

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

type Mounts

type Mounts []Mount

func ParseMounts

func ParseMounts(mountinfo string) (Mounts, error)

func (Mounts) IsMountpoint

func (ms Mounts) IsMountpoint(p string) bool

Jump to

Keyboard shortcuts

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