
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>
16 lines
290 B
Go
16 lines
290 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
|
|
}
|