mirror of
https://github.com/minio/minio.git
synced 2025-01-13 16:03:21 -05:00
5e69a107d8
Currently windows support was relying on Symlink as a way to detect a drive, this doesn't work in latest Windows 2016, fix this to use a proper mechanism by using win32 APIs. Additionally also add support for detecting bind mounts on Linux.
26 lines
450 B
Go
26 lines
450 B
Go
// Copyright 2012 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build windows,!race
|
|
|
|
package windows
|
|
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
const raceenabled = false
|
|
|
|
func raceAcquire(addr unsafe.Pointer) {
|
|
}
|
|
|
|
func raceReleaseMerge(addr unsafe.Pointer) {
|
|
}
|
|
|
|
func raceReadRange(addr unsafe.Pointer, len int) {
|
|
}
|
|
|
|
func raceWriteRange(addr unsafe.Pointer, len int) {
|
|
}
|