
This moves both the Mount type and mountinfo into a single mount package. This also opens up the root of the repo to hold the containerd client implementation. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
18 lines
304 B
Go
18 lines
304 B
Go
// +build darwin freebsd
|
|
|
|
package mount
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var (
|
|
ErrNotImplementOnUnix = errors.New("not implemented under unix")
|
|
)
|
|
|
|
func (m *Mount) Mount(target string) error {
|
|
return ErrNotImplementOnUnix
|
|
}
|
|
|
|
func Unmount(mount string, flags int) error {
|
|
return ErrNotImplementOnUnix
|
|
}
|