mount

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMountpoint added in v0.4.0

func IsMountpoint(path string) (bool, error)

return value `true` means the path is mounted

func NormalizePath added in v0.8.0

func NormalizePath(path string) (realPath string, err error)

func WaitUntilUnmounted added in v0.4.0

func WaitUntilUnmounted(path string) error

Types

type Interface

type Interface interface {
	Umount(target string) error
}

type Mounter

type Mounter struct {
}

func (*Mounter) Umount

func (m *Mounter) Umount(target string) error

Jump to

Keyboard shortcuts

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