mountpoints

package
v0.0.0-...-b664000 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dismount

func Dismount(mountPoint types.MountPoint) error

func FromPath

func FromPath(path types.Path) (mp types.MountPoint, rel types.Path, err error)

FromPath returns the mount point, and its relative path from the mount point, from a paths.

func FromVolume

func FromVolume(volume types.Volume) (ret []types.MountPoint, err error)

FromVolume returns a list of mount points (drives name: `C:\` or directory) for a volumes.

func Mount

func Mount(volume types.Volume, mountPoint types.MountPoint) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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