// +build darwin freebsd package mount import "github.com/pkg/errors" var ( // ErrNotImplementOnUnix is returned for methods that are not implemented ErrNotImplementOnUnix = errors.New("not implemented under unix") ) // Mount is not implemented on this platform func (m *Mount) Mount(target string) error { return ErrNotImplementOnUnix } // Unmount is not implemented on this platform func Unmount(mount string, flags int) error { return ErrNotImplementOnUnix } // UnmountAll is not implemented on this platform func UnmountAll(mount string, flags int) error { return ErrNotImplementOnUnix }