Swap imports to use joeslay

This commit is contained in:
j.laycock 2019-09-02 11:28:40 +01:00
parent 1e62a2b233
commit 595a1beff0
238 changed files with 723 additions and 723 deletions

View file

@ -7,9 +7,9 @@ import (
"path" "path"
"strconv" "strconv"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
) )
var ( var (

View file

@ -8,11 +8,11 @@ import (
"path" "path"
"strconv" "strconv"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/joeslay/seaweedfs/weed/storage/types"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
var ( var (

View file

@ -7,11 +7,11 @@ import (
"log" "log"
"math/rand" "math/rand"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
var ( var (

View file

@ -3,9 +3,9 @@ package main
import ( import (
"flag" "flag"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"time" "time"
) )

View file

@ -7,9 +7,9 @@ import (
"path" "path"
"strconv" "strconv"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage/idx" "github.com/joeslay/seaweedfs/weed/storage/idx"
"github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/joeslay/seaweedfs/weed/storage/types"
) )
var ( var (

View file

@ -7,9 +7,9 @@ import (
"log" "log"
"os" "os"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -5,10 +5,10 @@ import (
"log" "log"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
util2 "github.com/chrislusf/seaweedfs/weed/util" util2 "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
"golang.org/x/tools/godoc/util" "golang.org/x/tools/godoc/util"
) )

View file

@ -3,13 +3,13 @@ package command
import ( import (
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
) )
var ( var (

View file

@ -18,11 +18,11 @@ import (
"github.com/spf13/viper" "github.com/spf13/viper"
"google.golang.org/grpc" "google.golang.org/grpc"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/joeslay/seaweedfs/weed/wdclient"
) )
type BenchmarkOptions struct { type BenchmarkOptions struct {

View file

@ -1,9 +1,9 @@
package command package command
import ( import (
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
) )
func init() { func init() {

View file

@ -8,8 +8,8 @@ import (
"path" "path"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
var ( var (

View file

@ -14,10 +14,10 @@ import (
"io" "io"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/joeslay/seaweedfs/weed/storage/types"
) )
const ( const (

View file

@ -6,13 +6,13 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/server" "github.com/joeslay/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/grpc/reflection" "google.golang.org/grpc/reflection"
) )

View file

@ -14,11 +14,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/joeslay/seaweedfs/weed/wdclient"
"github.com/spf13/viper" "github.com/spf13/viper"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View file

@ -4,16 +4,16 @@ import (
"context" "context"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/replication" "github.com/joeslay/seaweedfs/weed/replication"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/azuresink" _ "github.com/joeslay/seaweedfs/weed/replication/sink/azuresink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/b2sink" _ "github.com/joeslay/seaweedfs/weed/replication/sink/b2sink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink" _ "github.com/joeslay/seaweedfs/weed/replication/sink/filersink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/gcssink" _ "github.com/joeslay/seaweedfs/weed/replication/sink/gcssink"
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink" _ "github.com/joeslay/seaweedfs/weed/replication/sink/s3sink"
"github.com/chrislusf/seaweedfs/weed/replication/sub" "github.com/joeslay/seaweedfs/weed/replication/sub"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View file

@ -5,10 +5,10 @@ import (
"path" "path"
"strconv" "strconv"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/joeslay/seaweedfs/weed/storage/types"
) )
func init() { func init() {

View file

@ -8,11 +8,11 @@ import (
"strings" "strings"
"github.com/chrislusf/raft/protobuf" "github.com/chrislusf/raft/protobuf"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/joeslay/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/server" "github.com/joeslay/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/spf13/viper" "github.com/spf13/viper"
"google.golang.org/grpc/reflection" "google.golang.org/grpc/reflection"

View file

@ -12,13 +12,13 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/jacobsa/daemonize" "github.com/jacobsa/daemonize"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/filesys" "github.com/joeslay/seaweedfs/weed/filesys"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"
) )

View file

@ -4,14 +4,14 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/s3api" "github.com/joeslay/seaweedfs/weed/s3api"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

View file

@ -8,8 +8,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type ServerOptions struct { type ServerOptions struct {

View file

@ -1,9 +1,9 @@
package command package command
import ( import (
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/shell" "github.com/joeslay/seaweedfs/weed/shell"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View file

@ -6,11 +6,11 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
) )
var ( var (

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"runtime" "runtime"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
var cmdVersion = &Command{ var cmdVersion = &Command{

View file

@ -9,14 +9,14 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/server" "github.com/joeslay/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/storage" "github.com/joeslay/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/grpc/reflection" "google.golang.org/grpc/reflection"
) )

View file

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
) )
func TestXYZ(t *testing.T) { func TestXYZ(t *testing.T) {

View file

@ -7,10 +7,10 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/server" "github.com/joeslay/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View file

@ -5,8 +5,8 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
) )
type AbstractSqlStore struct { type AbstractSqlStore struct {

View file

@ -3,9 +3,9 @@ package cassandra
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/gocql/gocql" "github.com/gocql/gocql"
) )

View file

@ -3,7 +3,7 @@ package filer2
import ( import (
"os" "os"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
type Attr struct { type Attr struct {

View file

@ -5,7 +5,7 @@ import (
"time" "time"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -6,9 +6,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
weed_util "github.com/chrislusf/seaweedfs/weed/util" weed_util "github.com/joeslay/seaweedfs/weed/util"
"go.etcd.io/etcd/clientv3" "go.etcd.io/etcd/clientv3"
) )

View file

@ -6,7 +6,7 @@ import (
"sort" "sort"
"sync" "sync"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
func TotalSize(chunks []*filer_pb.FileChunk) (size uint64) { func TotalSize(chunks []*filer_pb.FileChunk) (size uint64) {

View file

@ -5,7 +5,7 @@ import (
"testing" "testing"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
func TestCompactFileChunks(t *testing.T) { func TestCompactFileChunks(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/joeslay/seaweedfs/weed/wdclient"
"github.com/karlseguin/ccache" "github.com/karlseguin/ccache"
) )

View file

@ -6,9 +6,9 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
func VolumeId(fileId string) string { func VolumeId(fileId string) string {

View file

@ -3,9 +3,9 @@ package filer2
import ( import (
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
func (f *Filer) loopProcessingDeletion() { func (f *Filer) loopProcessingDeletion() {

View file

@ -1,9 +1,9 @@
package filer2 package filer2
import ( import (
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry, deleteChunks bool) { func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry, deleteChunks bool) {

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -5,9 +5,9 @@ import (
"errors" "errors"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/stats" "github.com/joeslay/seaweedfs/weed/stats"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type FilerStore interface { type FilerStore interface {

View file

@ -5,9 +5,9 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
weed_util "github.com/chrislusf/seaweedfs/weed/util" weed_util "github.com/joeslay/seaweedfs/weed/util"
"github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
leveldb_util "github.com/syndtr/goleveldb/leveldb/util" leveldb_util "github.com/syndtr/goleveldb/leveldb/util"

View file

@ -2,7 +2,7 @@ package leveldb
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"io/ioutil" "io/ioutil"
"os" "os"
"testing" "testing"

View file

@ -8,9 +8,9 @@ import (
"io" "io"
"os" "os"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
weed_util "github.com/chrislusf/seaweedfs/weed/util" weed_util "github.com/joeslay/seaweedfs/weed/util"
"github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/opt" "github.com/syndtr/goleveldb/leveldb/opt"
leveldb_util "github.com/syndtr/goleveldb/leveldb/util" leveldb_util "github.com/syndtr/goleveldb/leveldb/util"

View file

@ -2,7 +2,7 @@ package leveldb
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"io/ioutil" "io/ioutil"
"os" "os"
"testing" "testing"

View file

@ -3,8 +3,8 @@ package memdb
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/google/btree" "github.com/google/btree"
"strings" "strings"
"sync" "sync"

View file

@ -2,7 +2,7 @@ package memdb
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"testing" "testing"
) )

View file

@ -4,9 +4,9 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" "github.com/joeslay/seaweedfs/weed/filer2/abstract_sql"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"
) )

View file

@ -4,9 +4,9 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" "github.com/joeslay/seaweedfs/weed/filer2/abstract_sql"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
_ "github.com/lib/pq" _ "github.com/lib/pq"
) )

View file

@ -1,8 +1,8 @@
package redis package redis
import ( import (
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/go-redis/redis" "github.com/go-redis/redis"
) )

View file

@ -1,8 +1,8 @@
package redis package redis
import ( import (
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/go-redis/redis" "github.com/go-redis/redis"
) )

View file

@ -3,8 +3,8 @@ package redis
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/go-redis/redis" "github.com/go-redis/redis"
"sort" "sort"
"strings" "strings"

View file

@ -3,10 +3,10 @@ package filer2
import ( import (
"io" "io"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/wdclient" "github.com/joeslay/seaweedfs/weed/wdclient"
) )
func StreamContent(masterClient *wdclient.MasterClient, w io.Writer, chunks []*filer_pb.FileChunk, offset int64, size int) error { func StreamContent(masterClient *wdclient.MasterClient, w io.Writer, chunks []*filer_pb.FileChunk, offset int64, size int) error {

View file

@ -6,9 +6,9 @@ import (
"path" "path"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"
) )

View file

@ -6,8 +6,8 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"
) )

View file

@ -3,7 +3,7 @@ package filesys
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"
) )

View file

@ -8,10 +8,10 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
) )
type ContinuousDirtyPages struct { type ContinuousDirtyPages struct {

View file

@ -7,9 +7,9 @@ import (
"sort" "sort"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"
) )

View file

@ -7,9 +7,9 @@ import (
"path" "path"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/gabriel-vasile/mimetype" "github.com/gabriel-vasile/mimetype"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"

View file

@ -8,9 +8,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/karlseguin/ccache" "github.com/karlseguin/ccache"
"github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs" "github.com/seaweedfs/fuse/fs"

View file

@ -3,10 +3,10 @@ package filesys
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View file

@ -7,7 +7,7 @@ import (
"image/jpeg" "image/jpeg"
"image/png" "image/png"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/disintegration/imaging" "github.com/disintegration/imaging"
"io" "io"
) )

View file

@ -8,9 +8,9 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs" "github.com/aws/aws-sdk-go/service/sqs"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -1,8 +1,8 @@
package notification package notification
import ( import (
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View file

@ -18,9 +18,9 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"gocloud.dev/pubsub" "gocloud.dev/pubsub"
_ "gocloud.dev/pubsub/awssnssqs" _ "gocloud.dev/pubsub/awssnssqs"

View file

@ -6,9 +6,9 @@ import (
"os" "os"
"cloud.google.com/go/pubsub" "cloud.google.com/go/pubsub"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

View file

@ -2,9 +2,9 @@ package kafka
import ( import (
"github.com/Shopify/sarama" "github.com/Shopify/sarama"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -1,9 +1,9 @@
package kafka package kafka
import ( import (
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification" "github.com/joeslay/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -3,9 +3,9 @@ package operation
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/joeslay/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/grpc" "google.golang.org/grpc"
"strings" "strings"
) )

View file

@ -13,8 +13,8 @@ import (
"sync" "sync"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
var ( var (

View file

@ -4,8 +4,8 @@ import (
"context" "context"
"errors" "errors"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb"
"google.golang.org/grpc" "google.golang.org/grpc"
"net/http" "net/http"
"strings" "strings"

View file

@ -3,10 +3,10 @@ package operation
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/joeslay/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/grpc" "google.golang.org/grpc"
"strconv" "strconv"
"strings" "strings"

View file

@ -11,8 +11,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/joeslay/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type Location struct { type Location struct {

View file

@ -6,7 +6,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
) )
var ErrorNotFound = errors.New("not found") var ErrorNotFound = errors.New("not found")

View file

@ -4,7 +4,7 @@ import (
"context" "context"
"google.golang.org/grpc" "google.golang.org/grpc"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/joeslay/seaweedfs/weed/pb/master_pb"
) )
func Statistics(server string, grpcDialOption grpc.DialOption, req *master_pb.StatisticsRequest) (resp *master_pb.StatisticsResponse, err error) { func Statistics(server string, grpcDialOption grpc.DialOption, req *master_pb.StatisticsRequest) (resp *master_pb.StatisticsResponse, err error) {

View file

@ -11,8 +11,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
) )
type FilePart struct { type FilePart struct {

View file

@ -2,7 +2,7 @@ package operation
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View file

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/joeslay/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View file

@ -16,9 +16,9 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type UploadResult struct { type UploadResult struct {

View file

@ -1,7 +1,7 @@
package filer_pb package filer_pb
import ( import (
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/joeslay/seaweedfs/weed/storage/needle"
) )
func toFileIdObject(fileIdStr string) (*FileId, error) { func toFileIdObject(fileIdStr string) (*FileId, error) {

View file

@ -6,11 +6,11 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type Replicator struct { type Replicator struct {

View file

@ -8,12 +8,12 @@ import (
"strings" "strings"
"github.com/Azure/azure-storage-blob-go/azblob" "github.com/Azure/azure-storage-blob-go/azblob"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type AzureSink struct { type AzureSink struct {

View file

@ -4,11 +4,11 @@ import (
"context" "context"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/kurin/blazer/b2" "github.com/kurin/blazer/b2"
) )

View file

@ -7,11 +7,11 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/joeslay/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
func (fs *FilerSink) replicateChunks(ctx context.Context, sourceChunks []*filer_pb.FileChunk) (replicatedChunks []*filer_pb.FileChunk, err error) { func (fs *FilerSink) replicateChunks(ctx context.Context, sourceChunks []*filer_pb.FileChunk) (replicatedChunks []*filer_pb.FileChunk, err error) {

View file

@ -3,16 +3,16 @@ package filersink
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"google.golang.org/grpc" "google.golang.org/grpc"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type FilerSink struct { type FilerSink struct {

View file

@ -6,12 +6,12 @@ import (
"os" "os"
"cloud.google.com/go/storage" "cloud.google.com/go/storage"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

View file

@ -2,9 +2,9 @@ package sink
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type ReplicationSink interface { type ReplicationSink interface {

View file

@ -11,12 +11,12 @@ import (
"github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/service/s3/s3iface" "github.com/aws/aws-sdk-go/service/s3/s3iface"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/joeslay/seaweedfs/weed/replication/sink"
"github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/joeslay/seaweedfs/weed/replication/source"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type S3Sink struct { type S3Sink struct {

View file

@ -9,10 +9,10 @@ import (
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
func (s3sink *S3Sink) deleteObject(key string) error { func (s3sink *S3Sink) deleteObject(key string) error {

View file

@ -3,16 +3,16 @@ package source
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/joeslay/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"google.golang.org/grpc" "google.golang.org/grpc"
"io" "io"
"net/http" "net/http"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type ReplicationSource interface { type ReplicationSource interface {

View file

@ -8,9 +8,9 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs" "github.com/aws/aws-sdk-go/service/sqs"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -3,9 +3,9 @@ package sub
import ( import (
"context" "context"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"gocloud.dev/pubsub" "gocloud.dev/pubsub"
_ "gocloud.dev/pubsub/awssnssqs" _ "gocloud.dev/pubsub/awssnssqs"

View file

@ -6,9 +6,9 @@ import (
"os" "os"
"cloud.google.com/go/pubsub" "cloud.google.com/go/pubsub"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
"google.golang.org/api/option" "google.golang.org/api/option"
) )

View file

@ -8,9 +8,9 @@ import (
"time" "time"
"github.com/Shopify/sarama" "github.com/Shopify/sarama"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -1,8 +1,8 @@
package sub package sub
import ( import (
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
) )
type NotificationInput interface { type NotificationInput interface {

View file

@ -11,9 +11,9 @@ import (
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/satori/go.uuid" "github.com/satori/go.uuid"
) )

View file

@ -7,8 +7,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
) )
func (s3a *S3ApiServer) mkdir(ctx context.Context, parentDirectoryPath string, dirName string, fn func(entry *filer_pb.Entry)) error { func (s3a *S3ApiServer) mkdir(ctx context.Context, parentDirectoryPath string, dirName string, fn func(entry *filer_pb.Entry)) error {

View file

@ -11,8 +11,8 @@ import (
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/s3"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

View file

@ -6,9 +6,9 @@ import (
"encoding/base64" "encoding/base64"
"encoding/xml" "encoding/xml"
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/joeslay/seaweedfs/weed/util"
"google.golang.org/grpc" "google.golang.org/grpc"
"net/http" "net/http"
"net/url" "net/url"

View file

@ -9,8 +9,8 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/server" "github.com/joeslay/seaweedfs/weed/server"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

View file

@ -10,9 +10,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/joeslay/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/joeslay/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/joeslay/seaweedfs/weed/pb/filer_pb"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

Some files were not shown because too many files have changed in this diff Show more