Change all minio-io path to minio

This commit is contained in:
Harshavardhana 2015-05-11 16:23:10 -07:00
parent e39de4f603
commit 8d06504068
68 changed files with 127 additions and 127 deletions

View file

@ -1,8 +1,8 @@
### Setup your Minio Github Repository ### Setup your Minio Github Repository
Fork [Minio upstream](https://github.com/Minio-io/minio/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder. Fork [Minio upstream](https://github.com/Minio-io/minio/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder.
```sh ```sh
$ mkdir -p $GOPATH/src/github.com/minio-io $ mkdir -p $GOPATH/src/github.com/minio
$ cd $GOPATH/src/github.com/minio-io $ cd $GOPATH/src/github.com/minio
$ git clone https://github.com/$USER_ID/minio $ git clone https://github.com/$USER_ID/minio
$ cd minio $ cd minio
``` ```
@ -23,8 +23,8 @@ Building Libraries
### Setting up git remote as ``upstream`` ### Setting up git remote as ``upstream``
```sh ```sh
$ cd $GOPATH/src/github.com/minio-io/minio $ cd $GOPATH/src/github.com/minio/minio
$ git remote add upstream https://github.com/minio-io/minio $ git remote add upstream https://github.com/minio/minio
$ git fetch upstream $ git fetch upstream
$ git merge upstream/master $ git merge upstream/master
... ...

View file

@ -20,9 +20,9 @@ RUN curl -O -s https://storage.googleapis.com/golang/${GOLANG_TARBALL} && \
tar -xzf ${GOLANG_TARBALL} -C ${GOROOT%*go*} && \ tar -xzf ${GOLANG_TARBALL} -C ${GOROOT%*go*} && \
rm ${GOLANG_TARBALL} rm ${GOLANG_TARBALL}
ADD . ${GOPATH}/src/github.com/minio-io/minio ADD . ${GOPATH}/src/github.com/minio/minio
RUN cd ${GOPATH}/src/github.com/minio-io/minio && \ RUN cd ${GOPATH}/src/github.com/minio/minio && \
make make
RUN apt-get remove -y build-essential curl git && \ RUN apt-get remove -y build-essential curl git && \

6
Godeps/Godeps.json generated
View file

@ -1,5 +1,5 @@
{ {
"ImportPath": "github.com/minio-io/minio", "ImportPath": "github.com/minio/minio",
"GoVersion": "go1.4.2", "GoVersion": "go1.4.2",
"Packages": [ "Packages": [
"./..." "./..."
@ -18,11 +18,11 @@
"Rev": "660d31f8602b95058fed6833debf113e85350868" "Rev": "660d31f8602b95058fed6833debf113e85350868"
}, },
{ {
"ImportPath": "github.com/minio-io/check", "ImportPath": "github.com/minio/check",
"Rev": "bc4e66da8cd7ff58a4b9b84301f906352b8f2c94" "Rev": "bc4e66da8cd7ff58a4b9b84301f906352b8f2c94"
}, },
{ {
"ImportPath": "github.com/minio-io/cli", "ImportPath": "github.com/minio/cli",
"Comment": "1.2.0-110-g111d644", "Comment": "1.2.0-110-g111d644",
"Rev": "111d6445d384505978aaf5b218ce96d163b73c57" "Rev": "111d6445d384505978aaf5b218ce96d163b73c57"
}, },

View file

@ -3,11 +3,11 @@ Instructions
Install the package with: Install the package with:
go get github.com/minio-io/check go get github.com/minio/check
Import it with: Import it with:
import "github.com/minio-io/check" import "github.com/minio/check"
and use _check_ as the package name inside the code. and use _check_ as the package name inside the code.

View file

@ -3,7 +3,7 @@
package check_test package check_test
import ( import (
. "github.com/minio-io/check" . "github.com/minio/check"
"time" "time"
) )

View file

@ -14,7 +14,7 @@ package check_test
import ( import (
"fmt" "fmt"
"github.com/minio-io/check" "github.com/minio/check"
"strings" "strings"
) )

View file

@ -12,7 +12,7 @@ import (
"testing" "testing"
"time" "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 // We count the number of suites run at least to get a vague hint that the

View file

@ -2,7 +2,7 @@ package check_test
import ( import (
"errors" "errors"
"github.com/minio-io/check" "github.com/minio/check"
"reflect" "reflect"
"runtime" "runtime"
) )

View file

@ -3,7 +3,7 @@
package check_test package check_test
import ( import (
. "github.com/minio-io/check" . "github.com/minio/check"
) )
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------

View file

@ -8,7 +8,7 @@ package check_test
import ( import (
"fmt" "fmt"
"github.com/minio-io/check" "github.com/minio/check"
"log" "log"
"os" "os"
"regexp" "regexp"

View file

@ -4,7 +4,7 @@
package check_test package check_test
import ( import (
"github.com/minio-io/check" "github.com/minio/check"
"os" "os"
"reflect" "reflect"
"runtime" "runtime"

View file

@ -1,7 +1,7 @@
package check_test package check_test
import ( import (
. "github.com/minio-io/check" . "github.com/minio/check"
) )
var _ = Suite(&PrinterS{}) var _ = Suite(&PrinterS{})

View file

@ -4,7 +4,7 @@ package check_test
import ( import (
"errors" "errors"
. "github.com/minio-io/check" . "github.com/minio/check"
"os" "os"
"sync" "sync"
) )

View file

@ -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 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: You can view the API docs here:
http://godoc.org/github.com/minio-io/cli http://godoc.org/github.com/minio/cli
## Overview ## 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. 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: 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: Make sure your `PATH` includes to the `$GOPATH/bin` directory so your commands can be easily used:
@ -30,7 +30,7 @@ package main
import ( import (
"os" "os"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func main() { func main() {
@ -45,7 +45,7 @@ package main
import ( import (
"os" "os"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func main() { func main() {
@ -73,7 +73,7 @@ package main
import ( import (
"os" "os"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func main() { func main() {

View file

@ -6,7 +6,7 @@ import (
"os" "os"
"testing" "testing"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func ExampleApp() { func ExampleApp() {

View file

@ -3,7 +3,7 @@ package cli_test
import ( import (
"os" "os"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func Example() { func Example() {

View file

@ -4,7 +4,7 @@ import (
"flag" "flag"
"testing" "testing"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func TestCommandDoNotIgnoreFlags(t *testing.T) { func TestCommandDoNotIgnoreFlags(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
func TestNewContext(t *testing.T) { func TestNewContext(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/minio-io/cli" "github.com/minio/cli"
) )
var boolFlagTests = []struct { var boolFlagTests = []struct {

View file

@ -6,10 +6,10 @@ checkdeps:
checkgopath: checkgopath:
@echo "Checking if project is at ${GOPATH}" @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/minio ]; 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/minio ]; 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 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 github.com/golang/lint/golint && echo "Installed golint:"
@go get golang.org/x/tools/cmd/vet && echo "Installed vet:" @go get golang.org/x/tools/cmd/vet && echo "Installed vet:"
@go get github.com/fzipp/gocyclo && echo "Installed gocyclo:" @go get github.com/fzipp/gocyclo && echo "Installed gocyclo:"
@ -49,7 +49,7 @@ minio: pre-build build-all test-all
install: minio install: minio
@echo "Installing minio:" @echo "Installing minio:"
@godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio-io/minio @godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio/minio
save: restore save: restore
@godep save ./... @godep save ./...

View file

@ -3,7 +3,7 @@
Minio is an open source object storage released under [Apache license v2](./LICENSE) . It uses ``Rubberband Erasure`` coding to dynamically protect the data. Minio is an open source object storage released under [Apache license v2](./LICENSE) . It uses ``Rubberband Erasure`` coding to dynamically protect the data.
Minio's design is inspired by Amazon's S3 for its API and Facebook's Haystack for its immutable data structure. Minio's design is inspired by Amazon's S3 for its API and Facebook's Haystack for its immutable data structure.
[![GoDoc](https://godoc.org/github.com/minio-io/minio?status.svg)](https://godoc.org/github.com/minio-io/minio) [![Build Status](https://travis-ci.org/minio-io/minio.svg)](https://travis-ci.org/minio-io/minio) [![GoDoc](https://godoc.org/github.com/minio/minio?status.svg)](https://godoc.org/github.com/minio/minio) [![Build Status](https://travis-ci.org/minio/minio.svg)](https://travis-ci.org/minio/minio)
### Join Community ### Join Community
* Community hangout on Gitter [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio-io/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) * Community hangout on Gitter [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio-io/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

10
main.go
View file

@ -27,11 +27,11 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio-io/cli" "github.com/minio/cli"
"github.com/minio-io/minio/pkg/featureflags" "github.com/minio/minio/pkg/featureflags"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/server" "github.com/minio/minio/pkg/server"
"github.com/minio-io/minio/pkg/server/httpserver" "github.com/minio/minio/pkg/server/httpserver"
) )
var globalDebugFlag = false var globalDebugFlag = false

View file

@ -21,9 +21,9 @@ import (
"strconv" "strconv"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acceptsContentType contentType) bool { func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acceptsContentType contentType) bool {

View file

@ -22,7 +22,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio-io/minio/pkg/api/config" "github.com/minio/minio/pkg/api/config"
) )
type timeHandler struct { type timeHandler struct {

View file

@ -24,9 +24,9 @@ import (
"encoding/xml" "encoding/xml"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
const ( const (

View file

@ -21,7 +21,7 @@ import (
"sort" "sort"
"strconv" "strconv"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
// Reply date format // Reply date format

View file

@ -21,12 +21,12 @@ import (
"net/http" "net/http"
router "github.com/gorilla/mux" router "github.com/gorilla/mux"
"github.com/minio-io/minio/pkg/api/config" "github.com/minio/minio/pkg/api/config"
"github.com/minio-io/minio/pkg/api/logging" "github.com/minio/minio/pkg/api/logging"
"github.com/minio-io/minio/pkg/api/quota" "github.com/minio/minio/pkg/api/quota"
"github.com/minio-io/minio/pkg/featureflags" "github.com/minio/minio/pkg/featureflags"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
// private use // private use

View file

@ -32,14 +32,14 @@ import (
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"github.com/minio-io/minio/pkg/featureflags" "github.com/minio/minio/pkg/featureflags"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
"github.com/minio-io/minio/pkg/storage/drivers/donut" "github.com/minio/minio/pkg/storage/drivers/donut"
"github.com/minio-io/minio/pkg/storage/drivers/memory" "github.com/minio/minio/pkg/storage/drivers/memory"
"github.com/minio-io/minio/pkg/storage/drivers/mocks" "github.com/minio/minio/pkg/storage/drivers/mocks"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
. "github.com/minio-io/check" . "github.com/minio/check"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -24,7 +24,7 @@ import (
"path" "path"
"sync" "sync"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// Config context // Config context

View file

@ -23,8 +23,8 @@ import (
"sync" "sync"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/utils/crypto/keys" "github.com/minio/minio/pkg/utils/crypto/keys"
) )
type MySuite struct{} type MySuite struct{}

View file

@ -24,7 +24,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
// No encoder interface exists, so we create one. // No encoder interface exists, so we create one.

View file

@ -24,8 +24,8 @@ import (
"os" "os"
"time" "time"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
type logHandler struct { type logHandler struct {

View file

@ -25,8 +25,8 @@ import (
"sync" "sync"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// bandwidthQuotaHandler // bandwidthQuotaHandler

View file

@ -21,7 +21,7 @@ import (
"net/http" "net/http"
"sync" "sync"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// requestLimitHandler // requestLimitHandler

View file

@ -22,7 +22,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// requestLimitHandler // requestLimitHandler

View file

@ -20,7 +20,7 @@ import (
"net/url" "net/url"
"strconv" "strconv"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
// parse bucket url queries // parse bucket url queries

View file

@ -23,10 +23,10 @@ import (
"path" "path"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/minio-io/minio/pkg/api/config" "github.com/minio/minio/pkg/api/config"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/crypto/keys" "github.com/minio/minio/pkg/utils/crypto/keys"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
const ( const (

View file

@ -1,10 +1,10 @@
### Setup your Erasure Github Repository ### Setup your Erasure Github Repository
Fork [Erasure upstream](https://github.com/minio-io/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder. Fork [Erasure upstream](https://github.com/minio/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder.
```sh ```sh
$ git clone https://github.com/$USER_ID/erasure $ git clone https://github.com/$USER_ID/erasure
$ cd erasure $ cd erasure
$ mkdir -p ${GOPATH}/src/github.com/minio-io $ mkdir -p ${GOPATH}/src/github.com/minio
$ ln -s ${PWD} $GOPATH/src/github.com/minio-io/ $ ln -s ${PWD} $GOPATH/src/github.com/minio/
``` ```
### Compiling Erasure from source ### Compiling Erasure from source

View file

@ -20,7 +20,7 @@ import (
"bytes" "bytes"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
) )
type MySuite struct{} type MySuite struct{}

View file

@ -19,7 +19,7 @@ package erasure
import ( import (
"bytes" "bytes"
. "github.com/minio-io/check" . "github.com/minio/check"
) )
func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte { func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte {

View file

@ -225,6 +225,6 @@ func init() {
_, iodineFile, _, _ := runtime.Caller(0) _, iodineFile, _, _ := runtime.Caller(0)
iodineFile = path.Dir(iodineFile) // trim iodine.go iodineFile = path.Dir(iodineFile) // trim iodine.go
iodineFile = path.Dir(iodineFile) // trim iodine 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 gopath = path.Dir(iodineFile) + "/" // trim github.com
} }

View file

@ -19,7 +19,7 @@ package httpserver
import ( import (
"net/http" "net/http"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// Config - http server config // Config - http server config

View file

@ -22,13 +22,13 @@ import (
"reflect" "reflect"
"time" "time"
"github.com/minio-io/minio/pkg/api" "github.com/minio/minio/pkg/api"
"github.com/minio-io/minio/pkg/api/web" "github.com/minio/minio/pkg/api/web"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/server/httpserver" "github.com/minio/minio/pkg/server/httpserver"
"github.com/minio-io/minio/pkg/storage/drivers/donut" "github.com/minio/minio/pkg/storage/drivers/donut"
"github.com/minio-io/minio/pkg/storage/drivers/memory" "github.com/minio/minio/pkg/storage/drivers/memory"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// MemoryFactory is used to build memory api servers // MemoryFactory is used to build memory api servers

View file

@ -19,7 +19,7 @@ package donut
import ( import (
"errors" "errors"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// donut struct internal data // donut struct internal data

View file

@ -29,7 +29,7 @@ import (
"crypto/md5" "crypto/md5"
"encoding/hex" "encoding/hex"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// internal struct carrying bucket specific information // internal struct carrying bucket specific information

View file

@ -29,8 +29,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/utils/split" "github.com/minio/minio/pkg/utils/split"
) )
/// This file contains all the internal functions used by Bucket interface /// This file contains all the internal functions used by Bucket interface

View file

@ -24,7 +24,7 @@ import (
"io/ioutil" "io/ioutil"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// internal disk struct // internal disk struct

View file

@ -20,8 +20,8 @@ import (
"errors" "errors"
"strconv" "strconv"
encoding "github.com/minio-io/minio/pkg/erasure" encoding "github.com/minio/minio/pkg/erasure"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// encoder internal struct // encoder internal struct

View file

@ -19,7 +19,7 @@ package donut
import ( import (
"errors" "errors"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// node struct internal // node struct internal

View file

@ -21,7 +21,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// Rebalance - // Rebalance -

View file

@ -28,7 +28,7 @@ import (
"testing" "testing"
"time" "time"
. "github.com/minio-io/check" . "github.com/minio/check"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -5,7 +5,7 @@ import (
"errors" "errors"
"path" "path"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// Heal - heal a donut and fix bad data blocks // Heal - heal a donut and fix bad data blocks

View file

@ -24,7 +24,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// MakeBucket - make a new bucket // MakeBucket - make a new bucket

View file

@ -25,7 +25,7 @@ import (
"path" "path"
"strings" "strings"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
/// This file contains all the internal functions used by Object interface /// This file contains all the internal functions used by Object interface

View file

@ -26,8 +26,8 @@ import (
"time" "time"
"github.com/minio-io/check" "github.com/minio/check"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
) )
// APITestSuite - collection of API tests // APITestSuite - collection of API tests

View file

@ -31,10 +31,10 @@ import (
"errors" "errors"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/donut" "github.com/minio/minio/pkg/storage/donut"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
"github.com/minio-io/minio/pkg/utils/log" "github.com/minio/minio/pkg/utils/log"
) )
// donutDriver - creates a new single disk drivers driver using donut // donutDriver - creates a new single disk drivers driver using donut

View file

@ -21,8 +21,8 @@ import (
"os" "os"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -35,8 +35,8 @@ import (
"math/rand" "math/rand"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
// memoryDriver - local variables // memoryDriver - local variables

View file

@ -20,8 +20,8 @@ import (
"testing" "testing"
"time" "time"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"io" "io"
"github.com/minio-io/minio/pkg/iodine" "github.com/minio/minio/pkg/iodine"
"github.com/minio-io/minio/pkg/storage/drivers" "github.com/minio/minio/pkg/storage/drivers"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
) )

View file

@ -23,8 +23,8 @@ import (
"strings" "strings"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/utils/cpu" "github.com/minio/minio/pkg/utils/cpu"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -19,8 +19,8 @@ package keys_test
import ( import (
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/utils/crypto/keys" "github.com/minio/minio/pkg/utils/crypto/keys"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -5,8 +5,8 @@ import (
"encoding/hex" "encoding/hex"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/utils/crypto/md5" "github.com/minio/minio/pkg/utils/crypto/md5"
) )
func Test(t *testing.T) { TestingT(t) } func Test(t *testing.T) { TestingT(t) }

View file

@ -14,7 +14,7 @@ import (
"hash" "hash"
"io" "io"
"github.com/minio-io/minio/pkg/utils/cpu" "github.com/minio/minio/pkg/utils/cpu"
) )
// The size of a SHA1 checksum in bytes. // The size of a SHA1 checksum in bytes.

View file

@ -14,7 +14,7 @@ import (
"hash" "hash"
"io" "io"
"github.com/minio-io/minio/pkg/utils/cpu" "github.com/minio/minio/pkg/utils/cpu"
) )
// The size of a SHA1 checksum in bytes. // The size of a SHA1 checksum in bytes.

View file

@ -14,7 +14,7 @@ import (
"hash" "hash"
"io" "io"
"github.com/minio-io/minio/pkg/utils/cpu" "github.com/minio/minio/pkg/utils/cpu"
) )
// The size of a SHA256 checksum in bytes. // The size of a SHA256 checksum in bytes.

View file

@ -15,7 +15,7 @@ import (
"hash" "hash"
"io" "io"
"github.com/minio-io/minio/pkg/utils/cpu" "github.com/minio/minio/pkg/utils/cpu"
) )
// The size of a SHA512 checksum in bytes. // The size of a SHA512 checksum in bytes.

View file

@ -24,8 +24,8 @@ import (
"strconv" "strconv"
"testing" "testing"
. "github.com/minio-io/check" . "github.com/minio/check"
"github.com/minio-io/minio/pkg/utils/split" "github.com/minio/minio/pkg/utils/split"
) )
type MySuite struct{} type MySuite struct{}