Change minio-io to minio
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
### Setup your mc Github Repository
|
||||
Fork [mc upstream](https://github.com/minio-io/mc/fork) source repository to your own personal repository.
|
||||
Fork [mc upstream](https://github.com/minio/mc/fork) source repository to your own personal repository.
|
||||
```sh
|
||||
$ git clone https://github.com/$USER_ID/mc
|
||||
$ cd mc
|
||||
|
||||
Generated
+5
-5
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/mc",
|
||||
"ImportPath": "github.com/minio/mc",
|
||||
"GoVersion": "go1.4",
|
||||
"Packages": [
|
||||
"./..."
|
||||
@@ -22,20 +22,20 @@
|
||||
"Rev": "c06d8730d42f16f3e8dddc236c7d69c0952a8a2c"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/check",
|
||||
"ImportPath": "github.com/minio/check",
|
||||
"Rev": "bc4e66da8cd7ff58a4b9b84301f906352b8f2c94"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/cli",
|
||||
"ImportPath": "github.com/minio/cli",
|
||||
"Comment": "1.2.0-110-g111d644",
|
||||
"Rev": "111d6445d384505978aaf5b218ce96d163b73c57"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/minio/pkg/iodine",
|
||||
"ImportPath": "github.com/minio/minio/pkg/iodine",
|
||||
"Rev": "1d4bc0c34e0c0ceb6606dab4e99288df0166c3d1"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/minio/pkg/utils/log",
|
||||
"ImportPath": "github.com/minio/minio/pkg/utils/log",
|
||||
"Rev": "1d4bc0c34e0c0ceb6606dab4e99288df0166c3d1"
|
||||
},
|
||||
{
|
||||
|
||||
+2
-2
@@ -3,11 +3,11 @@ Instructions
|
||||
|
||||
Install the package with:
|
||||
|
||||
go get github.com/minio-io/check
|
||||
go get github.com/minio/check
|
||||
|
||||
Import it with:
|
||||
|
||||
import "github.com/minio-io/check"
|
||||
import "github.com/minio/check"
|
||||
|
||||
and use _check_ as the package name inside the code.
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ package check_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
)
|
||||
|
||||
// We count the number of suites run at least to get a vague hint that the
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package check_test
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"reflect"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ package check_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"log"
|
||||
"os"
|
||||
"regexp"
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
package check_test
|
||||
|
||||
import (
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
var _ = Suite(&PrinterS{})
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ package check_test
|
||||
|
||||
import (
|
||||
"errors"
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
"os"
|
||||
"sync"
|
||||
)
|
||||
|
||||
+5
-5
@@ -2,7 +2,7 @@
|
||||
cli.go is simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way. - This is a fork of ``github.com/codegangsta/cli`` until our patches get merge upstream
|
||||
|
||||
You can view the API docs here:
|
||||
http://godoc.org/github.com/minio-io/cli
|
||||
http://godoc.org/github.com/minio/cli
|
||||
|
||||
## Overview
|
||||
Command line apps are usually so tiny that there is absolutely no reason why your code should *not* be self-documenting. Things like generating help text and parsing command flags should not hinder productivity when writing a command line app.
|
||||
@@ -14,7 +14,7 @@ Make sure you have a working Go environment (go 1.1 is *required*). [See the ins
|
||||
|
||||
To install `cli.go`, simply run:
|
||||
```
|
||||
$ go get github.com/minio-io/cli
|
||||
$ go get github.com/minio/cli
|
||||
```
|
||||
|
||||
Make sure your `PATH` includes to the `$GOPATH/bin` directory so your commands can be easily used:
|
||||
@@ -30,7 +30,7 @@ package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -45,7 +45,7 @@ package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -73,7 +73,7 @@ package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func ExampleApp() {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package cli_test
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func Example() {
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"flag"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func TestCommandDoNotIgnoreFlags(t *testing.T) {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func TestNewContext(t *testing.T) {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
var boolFlagTests = []struct {
|
||||
|
||||
+1
-1
@@ -226,6 +226,6 @@ func init() {
|
||||
_, iodineFile, _, _ := runtime.Caller(0)
|
||||
iodineFile = path.Dir(iodineFile) // trim iodine.go
|
||||
iodineFile = path.Dir(iodineFile) // trim iodine
|
||||
iodineFile = path.Dir(iodineFile) // trim minio-io
|
||||
iodineFile = path.Dir(iodineFile) // trim minio
|
||||
gopath = path.Dir(iodineFile) + "/" // trim github.com
|
||||
}
|
||||
|
||||
@@ -7,10 +7,10 @@ checkdeps:
|
||||
|
||||
checkgopath:
|
||||
@echo "Checking if project is at ${GOPATH}"
|
||||
@for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio-io/mc ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done
|
||||
@for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio/mc ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done
|
||||
|
||||
getdeps: checkdeps checkgopath
|
||||
@go get github.com/minio-io/godep && echo "Installed godep:"
|
||||
@go get github.com/minio/godep && echo "Installed godep:"
|
||||
@go get github.com/golang/lint/golint && echo "Installed golint:"
|
||||
@go get golang.org/x/tools/cmd/vet && echo "Installed vet:"
|
||||
@go get github.com/fzipp/gocyclo && echo "Installed gocyclo:"
|
||||
@@ -60,7 +60,7 @@ env:
|
||||
|
||||
install: test-all
|
||||
@echo "Installing mc:"
|
||||
@godep go install -a -ldflags "-X main.BuildDate `date -u '+%FT%T.%N%:z'`" github.com/minio-io/mc
|
||||
@godep go install -a -ldflags "-X main.BuildDate `date -u '+%FT%T.%N%:z'`" github.com/minio/mc
|
||||
@mkdir -p $(HOME)/.mc
|
||||
|
||||
clean:
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
mc - Minio Client command for filesystems and object Storage. "mc" has features to resume partial downloads, progress bar, network reconnect and checksum verification. It is written in golang and released under [Apache license v2](./LICENSE).
|
||||
|
||||
[](https://godoc.org/github.com/minio-io/mc)
|
||||
[](https://travis-ci.org/minio-io/mc)
|
||||
[](https://godoc.org/github.com/minio/mc)
|
||||
[](https://travis-ci.org/minio/mc)
|
||||
|
||||
## Install from Source
|
||||
|
||||
```go
|
||||
# go get github.com/minio-io/mc
|
||||
# go get github.com/minio/mc
|
||||
```
|
||||
|
||||
## Join Community
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// validAliasURL: use net/url.Parse to validate
|
||||
|
||||
+4
-4
@@ -20,10 +20,10 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func runAccessCmd(ctx *cli.Context) {
|
||||
|
||||
+3
-3
@@ -23,9 +23,9 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func runCatCmd(ctx *cli.Context) {
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/cheggaaa/pb"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// isValidRetry - check if we should retry for the given error sequence
|
||||
|
||||
+4
-4
@@ -19,10 +19,10 @@ package main
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/mc/pkg/quick"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/mc/pkg/quick"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// runConfigCmd is the handle for "mc config" sub-command
|
||||
|
||||
@@ -19,9 +19,9 @@ package main
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func runCopyCmd(ctx *cli.Context) {
|
||||
|
||||
@@ -21,9 +21,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// runListCmd - is a handler for mc ls command
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// runMakeBucketCmd is the handler for mc mb command
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
)
|
||||
|
||||
// List of commands
|
||||
|
||||
+3
-3
@@ -19,9 +19,9 @@ package main
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func runSyncCmd(ctx *cli.Context) {
|
||||
|
||||
+3
-3
@@ -20,9 +20,9 @@ import (
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+3
-3
@@ -29,9 +29,9 @@ import (
|
||||
"net"
|
||||
|
||||
"github.com/cheggaaa/pb"
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/mc/pkg/quick"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/mc/pkg/quick"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
+4
-4
@@ -20,10 +20,10 @@ import (
|
||||
"io"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/mc/pkg/client/fs"
|
||||
"github.com/minio-io/mc/pkg/client/s3"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/client/fs"
|
||||
"github.com/minio/mc/pkg/client/s3"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// getSourceReader -
|
||||
|
||||
@@ -22,8 +22,8 @@ import (
|
||||
"path"
|
||||
"runtime"
|
||||
|
||||
"github.com/minio-io/mc/pkg/quick"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/quick"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
type configV1 struct {
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ package main
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
type sourceReader struct {
|
||||
|
||||
@@ -22,8 +22,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// mc cp related URL processing code
|
||||
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/cheggaaa/pb"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// mc cp - related internal functions
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ mc - Minio Client for S3 Compatible Object Storage released under [Apache licens
|
||||
## Install
|
||||
|
||||
```
|
||||
# go get github.com/minio-io/mc
|
||||
# go get github.com/minio/mc
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
type hostConfig struct {
|
||||
|
||||
@@ -23,9 +23,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// LS - related internal functions
|
||||
|
||||
@@ -25,9 +25,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/cheggaaa/pb"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Check for the environment early on and gracefully report.
|
||||
|
||||
@@ -19,7 +19,7 @@ package client
|
||||
import (
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
+2
-2
@@ -27,8 +27,8 @@ import (
|
||||
|
||||
"io/ioutil"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
type fsClient struct {
|
||||
|
||||
@@ -25,8 +25,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// CreateObject - upload new object to bucket
|
||||
|
||||
@@ -27,8 +27,8 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
type reqAndExpected struct {
|
||||
|
||||
@@ -21,8 +21,8 @@ import (
|
||||
|
||||
"net/http"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func isValidBucketACL(acl string) bool {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package s3
|
||||
|
||||
import "github.com/minio-io/mc/pkg/client"
|
||||
import "github.com/minio/mc/pkg/client"
|
||||
|
||||
/// Bucket API operations
|
||||
|
||||
|
||||
@@ -22,8 +22,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func (c *s3Client) getMetadata(bucket, object string) (content *client.Content, err error) {
|
||||
|
||||
@@ -28,8 +28,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func (c *s3Client) listInGoRoutine(contentCh chan client.ContentOnChannel) {
|
||||
|
||||
@@ -26,9 +26,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
)
|
||||
|
||||
// New returns an initialized s3Client structure.
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// HTTPTracer provides callback hook mechanism for HTTP transport.
|
||||
|
||||
@@ -23,8 +23,8 @@ import (
|
||||
|
||||
"net/http"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// Object API operations
|
||||
|
||||
@@ -24,8 +24,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/mc/pkg/client"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// Object Operations PUT - keeping this in a separate file for readability
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
func (c *s3Client) isValidQueryURL(queryURL string) bool {
|
||||
|
||||
@@ -22,8 +22,8 @@ import (
|
||||
"net/http"
|
||||
"net/http/httputil"
|
||||
|
||||
"github.com/minio-io/mc/pkg/console"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Trace - tracing structure
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/fatih/color"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// NoDebugPrint defines if the input should be printed or not. By default it's set to true.
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/fatih/structs"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Config - generic config interface functions
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
Reference in New Issue
Block a user