mount

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 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 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