Removing more dead code

This commit is contained in:
Frederick F. Kautz IV
2015-04-09 23:41:11 -07:00
parent 3fa6695142
commit c48fe39767
3 changed files with 0 additions and 28 deletions
-6
View File
@@ -24,12 +24,6 @@ import (
"github.com/minio-io/minio/pkg/iodine"
)
// Alias for S3 hosts, saved in mc json configuration file
type mcAlias struct {
Name string // Any alphanumeric string /^[a-zA-Z0-9-_]+$/
URL string // Eg.: https://s3.amazonaws.com/
}
// validAliasURL: use net/url.Parse to validate
var validAliasName = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-]+$")
-18
View File
@@ -17,8 +17,6 @@
package main
import (
"net/url"
"github.com/minio-io/cli"
)
@@ -165,22 +163,6 @@ EXAMPLES:
}
)
type object struct {
scheme string // protocol type: possible values are http, https, nil
host string
// Bucket name can also be a DNS name. "." is allowed, with certain restrictions.
// Read more at http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
bucket string
key string
url *url.URL
}
type cmdArgs struct {
quiet bool
source object
destination object
}
var options = []cli.Command{
cpCmd,
lsCmd,
-4
View File
@@ -21,7 +21,3 @@ var (
globalQuietFlag = false // Quiet flag set via command line
globalDebugFlag = false // Debug flag set via command line
)
const (
globalMaxKeys = 1000 // Maximum number of keys to fetch per request
)