e236994b76
Formatting the code with https://github.com/mvdan/gofumpt Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
289 B
Go
17 lines
289 B
Go
package snapshotter
|
|
|
|
import "github.com/containerd/containerd/mount"
|
|
|
|
type winChecker struct{}
|
|
|
|
func (c *winChecker) IsMounted(path string) bool {
|
|
return false
|
|
}
|
|
|
|
func checker() *winChecker {
|
|
return &winChecker{}
|
|
}
|
|
|
|
func unmount(target string) error {
|
|
return mount.Unmount(target, 0)
|
|
}
|