mount

package
v0.0.0-...-c52ba3c Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeMounter

func NewFakeMounter() *fakeMounter

func NewSystemMounter

func NewSystemMounter() *systemMounter

Types

type Mount

type Mount struct {
	Device string
	Path   string
	Type   string
	Opts   string
}

type MountEntry

type MountEntry struct {
	Source string
	FSType string
	Flags  uintptr
	Data   string
}

type Mounter

type Mounter interface {
	Mount(string, string, string, uintptr, string) error
	Unmount(string, int) error
	List() ([]string, error)
}

Jump to

Keyboard shortcuts

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