cleanup: Remove unecessary packages and tests. Simplify.

This commit is contained in:
Harshavardhana committed 2016-03-11 19:53:55 -08:00
1 parent 3d8b9afa8f
commit 5282a79eda
7 files changed
+7 -657

No files matched your search

+1 -2
View File
@@ -31,7 +31,6 @@ import (
"github.com/minio/minio/pkg/atomic"
"github.com/minio/minio/pkg/crypto/sha256"
"github.com/minio/minio/pkg/disk"
"github.com/minio/minio/pkg/ioutils"
"github.com/minio/minio/pkg/mimedb"
"github.com/minio/minio/pkg/probe"
"github.com/minio/minio/pkg/s3/signature4"
@@ -334,7 +333,7 @@ func deleteObjectPath(basePath, deletePath, bucket, object string) *probe.Error
}
if pathSt.IsDir() {
// Verify if directory is empty.
empty, e := ioutils.IsDirEmpty(deletePath)
empty, e := isDirEmpty(deletePath)
if e != nil {
return probe.NewError(e)
}