moby/daemon/snapshotter/mount_windows.go
Sebastiaan van Stijn e236994b76
daemon/snapshotter: format code with gofumpt
Formatting the code with https://github.com/mvdan/gofumpt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-29 00:32:38 +02:00

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)
}