24 lines
578 B
Go
24 lines
578 B
Go
package mount
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var (
|
|
// ErrNotImplementOnWindows is returned when an action is not implemented for windows
|
|
ErrNotImplementOnWindows = errors.New("not implemented under windows")
|
|
)
|
|
|
|
// Mount to the provided target
|
|
func (m *Mount) Mount(target string) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|
|
|
|
// Unmount the mount at the provided path
|
|
func Unmount(mount string, flags int) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|
|
|
|
// UnmountAll mounts at the provided path
|
|
func UnmountAll(mount string, flags int) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|