
This is simpler than trying to count how many successful mounts we made. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
20 lines
375 B
Go
20 lines
375 B
Go
package mount
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var (
|
|
ErrNotImplementOnWindows = errors.New("not implemented under windows")
|
|
)
|
|
|
|
func (m *Mount) Mount(target string) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|
|
|
|
func Unmount(mount string, flags int) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|
|
|
|
func UnmountAll(mount string, flags int) error {
|
|
return ErrNotImplementOnWindows
|
|
}
|