mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
10 lines
244 B
Go
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
|
|
}
|