mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use github.com/aszxqw instead of code.google.com/p
This commit is contained in:
parent
a2f8d985fb
commit
1cd19447e3
|
@ -3,7 +3,7 @@ package filer
|
||||||
import ()
|
import ()
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package filer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package filer
|
package filer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package filer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"github.com/syndtr/goleveldb/leveldb"
|
"github.com/syndtr/goleveldb/leveldb"
|
||||||
"github.com/syndtr/goleveldb/leveldb/util"
|
"github.com/syndtr/goleveldb/leveldb/util"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package operation
|
package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package operation
|
package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package operation
|
package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package operation
|
package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
_ "fmt"
|
_ "fmt"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"io"
|
"io"
|
||||||
"mime"
|
"mime"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package operation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"compress/flate"
|
"compress/flate"
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"hash/crc32"
|
"hash/crc32"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/images"
|
"github.com/aszxqw/weed-fs/go/images"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"errors"
|
"errors"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
|
@ -2,9 +2,9 @@ package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
proto "code.google.com/p/goprotobuf/proto"
|
proto "code.google.com/p/goprotobuf/proto"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
)
|
)
|
||||||
|
|
||||||
type VolumeInfo struct {
|
type VolumeInfo struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"github.com/goraft/raft"
|
"github.com/goraft/raft"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Collection struct {
|
type Collection struct {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"errors"
|
"errors"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -2,10 +2,10 @@ package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/sequence"
|
"github.com/aszxqw/weed-fs/go/sequence"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/goraft/raft"
|
"github.com/goraft/raft"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/sequence"
|
"github.com/aszxqw/weed-fs/go/sequence"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package topology
|
package topology
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"errors"
|
"errors"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
|
@ -10,7 +10,7 @@ package util
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ package util
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"errors"
|
"errors"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package util
|
package util
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/stats"
|
"github.com/aszxqw/weed-fs/go/stats"
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,9 +2,9 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"math"
|
"math"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -3,8 +3,8 @@ package main
|
||||||
import (
|
import (
|
||||||
"archive/tar"
|
"archive/tar"
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"code.google.com/p/weed-fs/go/weed/weed_server"
|
"github.com/aszxqw/weed-fs/go/weed/weed_server"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"code.google.com/p/weed-fs/go/weed/weed_server"
|
"github.com/aszxqw/weed-fs/go/weed/weed_server"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -5,10 +5,10 @@ package main
|
||||||
import (
|
import (
|
||||||
"bazil.org/fuse"
|
"bazil.org/fuse"
|
||||||
"bazil.org/fuse/fs"
|
"bazil.org/fuse/fs"
|
||||||
"code.google.com/p/weed-fs/go/filer"
|
"github.com/aszxqw/weed-fs/go/filer"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"code.google.com/p/weed-fs/go/weed/weed_server"
|
"github.com/aszxqw/weed-fs/go/weed/weed_server"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -2,7 +2,7 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"fmt"
|
"fmt"
|
||||||
"runtime"
|
"runtime"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"code.google.com/p/weed-fs/go/weed/weed_server"
|
"github.com/aszxqw/weed-fs/go/weed/weed_server"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"net/http"
|
"net/http"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
|
@ -2,11 +2,11 @@ package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/stats"
|
"github.com/aszxqw/weed-fs/go/stats"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/filer"
|
"github.com/aszxqw/weed-fs/go/filer"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/syndtr/goleveldb/leveldb"
|
"github.com/syndtr/goleveldb/leveldb"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/sequence"
|
"github.com/aszxqw/weed-fs/go/sequence"
|
||||||
"code.google.com/p/weed-fs/go/topology"
|
"github.com/aszxqw/weed-fs/go/topology"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"github.com/goraft/raft"
|
"github.com/goraft/raft"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/stats"
|
"github.com/aszxqw/weed-fs/go/stats"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -2,11 +2,11 @@ package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
proto "code.google.com/p/goprotobuf/proto"
|
proto "code.google.com/p/goprotobuf/proto"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/topology"
|
"github.com/aszxqw/weed-fs/go/topology"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -2,8 +2,8 @@ package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/topology"
|
"github.com/aszxqw/weed-fs/go/topology"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/goraft/raft"
|
"github.com/goraft/raft"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/images"
|
"github.com/aszxqw/weed-fs/go/images"
|
||||||
"code.google.com/p/weed-fs/go/operation"
|
"github.com/aszxqw/weed-fs/go/operation"
|
||||||
"code.google.com/p/weed-fs/go/stats"
|
"github.com/aszxqw/weed-fs/go/stats"
|
||||||
"code.google.com/p/weed-fs/go/storage"
|
"github.com/aszxqw/weed-fs/go/storage"
|
||||||
"code.google.com/p/weed-fs/go/topology"
|
"github.com/aszxqw/weed-fs/go/topology"
|
||||||
"io"
|
"io"
|
||||||
"mime"
|
"mime"
|
||||||
"mime/multipart"
|
"mime/multipart"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"code.google.com/p/weed-fs/go/stats"
|
"github.com/aszxqw/weed-fs/go/stats"
|
||||||
"code.google.com/p/weed-fs/go/util"
|
"github.com/aszxqw/weed-fs/go/util"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/weed-fs/go/glog"
|
"github.com/aszxqw/weed-fs/go/glog"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue