mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
posix: Support UNC paths on windows. (#1887)
This allows us to now use 32K paths names on windows. Fixes #1620
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
4ab57f7d60
commit
ed4fe689b4
@@ -21,7 +21,6 @@ import (
|
||||
"crypto/md5"
|
||||
"encoding/hex"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"strconv"
|
||||
"testing"
|
||||
)
|
||||
@@ -116,7 +115,7 @@ func BenchmarkGetObjectFS(b *testing.B) {
|
||||
if err != nil {
|
||||
b.Fatal(err)
|
||||
}
|
||||
defer os.RemoveAll(directory)
|
||||
defer removeAll(directory)
|
||||
|
||||
// Create the obj.
|
||||
obj, err := newFSObjects(directory)
|
||||
|
||||
Reference in New Issue
Block a user