1
0
mirror of https://github.com/minio/minio.git synced 2025-02-03 09:55:59 -05:00
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
}