minio/pkg/disk/root-disk-windows.go
2019-01-23 15:29:29 -08:00

10 lines
244 B
Go

// +build windows
package disk
// IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/"
func IsRootDisk(diskPath string) (bool, error) {
// On windows a disk can never be mounted on a subpath.
return false, nil
}