Documentation ¶
Index ¶
- type Mounter
- func (mounter *Mounter) GetMountRefs(pathname string) ([]string, error)
- func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error)
- func (mounter *Mounter) List() ([]mount.MountPoint, error)
- func (mounter *Mounter) Mount(source string, target string, fstype string, options []string) error
- func (n *Mounter) MountSensitive(source string, target string, fstype string, options []string, ...) error
- func (mounter *Mounter) Unmount(target string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mounter ¶
type Mounter struct { }
Mounter implements mount.Interface for unsupported platforms
func (*Mounter) GetMountRefs ¶
GetMountRefs always returns an error on unsupported platforms
func (*Mounter) IsLikelyNotMountPoint ¶
IsLikelyNotMountPoint always returns an error on unsupported platforms
func (*Mounter) List ¶
func (mounter *Mounter) List() ([]mount.MountPoint, error)
List always returns an error on unsupported platforms
Click to show internal directories.
Click to hide internal directories.