use github.com/aszxqw instead of code.google.com/p

This commit is contained in:
wyy 2014-09-25 00:47:09 +08:00
parent a2f8d985fb
commit 1cd19447e3
69 changed files with 138 additions and 138 deletions

View file

@ -3,7 +3,7 @@ package filer
import ()
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"fmt"

View file

@ -2,7 +2,7 @@ package filer
import (
"bufio"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"io"
"os"

View file

@ -1,7 +1,7 @@
package filer
import (
"code.google.com/p/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/operation"
"errors"
"fmt"
"path/filepath"

View file

@ -2,7 +2,7 @@ package filer
import (
"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/util"
)

View file

@ -1,8 +1,8 @@
package operation
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"net/url"

View file

@ -1,7 +1,7 @@
package operation
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"net/url"

View file

@ -1,8 +1,8 @@
package operation
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
)

View file

@ -1,7 +1,7 @@
package operation
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
_ "fmt"

View file

@ -2,7 +2,7 @@ package operation
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"io"
"mime"
"os"

View file

@ -2,7 +2,7 @@ package operation
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"encoding/json"
"errors"
"fmt"

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"fmt"

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"math/rand"
"os"
"runtime"

View file

@ -1,8 +1,8 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"log"
"os"
"testing"

View file

@ -2,7 +2,7 @@ package storage
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"compress/flate"
"compress/gzip"
"io/ioutil"

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"hash/crc32"
)

View file

@ -1,8 +1,8 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"encoding/hex"
"errors"
"strings"

View file

@ -1,9 +1,9 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/images"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/images"
"github.com/aszxqw/weed-fs/go/util"
"encoding/hex"
"errors"
"io/ioutil"

View file

@ -1,8 +1,8 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"io"
"os"

View file

@ -1,8 +1,8 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"errors"
"fmt"
"io"

View file

@ -2,9 +2,9 @@ package storage
import (
proto "code.google.com/p/goprotobuf/proto"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"fmt"

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"fmt"
"strconv"
)

View file

@ -2,7 +2,7 @@ package storage
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"errors"
"fmt"
"io"

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/operation"
)
type VolumeInfo struct {

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"fmt"
"os"
)

View file

@ -1,7 +1,7 @@
package storage
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"fmt"
"os"
"time"

View file

@ -1,7 +1,7 @@
package main
import (
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/storage"
"flag"
"fmt"
"log"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"net/url"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/goraft/raft"
)

View file

@ -1,7 +1,7 @@
package topology
import (
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/storage"
)
type Collection struct {

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"strconv"
)

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"errors"
"math/rand"
"strings"

View file

@ -2,10 +2,10 @@ package topology
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/util"
"net/http"
"strconv"
)

View file

@ -1,10 +1,10 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/sequence"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/sequence"
"github.com/aszxqw/weed-fs/go/storage"
"errors"
"github.com/goraft/raft"
"io/ioutil"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"math/rand"
"time"
)

View file

@ -1,9 +1,9 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"net/url"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"fmt"
"math/rand"
"sync"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/sequence"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/sequence"
"github.com/aszxqw/weed-fs/go/storage"
"encoding/json"
"fmt"
"testing"

View file

@ -1,8 +1,8 @@
package topology
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"errors"
"math/rand"
"sync"

View file

@ -10,7 +10,7 @@ package util
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"encoding/json"
"os"
)

View file

@ -2,7 +2,7 @@ package util
import (
"bufio"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"errors"
"os"
)

View file

@ -1,7 +1,7 @@
package util
import (
"code.google.com/p/weed-fs/go/stats"
"github.com/aszxqw/weed-fs/go/stats"
"net"
"time"
)

View file

@ -2,9 +2,9 @@ package main
import (
"bufio"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"io"
"math"

View file

@ -1,8 +1,8 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
)
func init() {

View file

@ -1,8 +1,8 @@
package main
import (
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"io"
"io/ioutil"

View file

@ -3,8 +3,8 @@ package main
import (
"archive/tar"
"bytes"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"fmt"
"os"
"path"

View file

@ -1,9 +1,9 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"code.google.com/p/weed-fs/go/weed/weed_server"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/weed/weed_server"
"net/http"
"os"
"strconv"

View file

@ -1,8 +1,8 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"os"
"path"
"strconv"

View file

@ -1,9 +1,9 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"code.google.com/p/weed-fs/go/weed/weed_server"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
"net/http"
"os"

View file

@ -5,10 +5,10 @@ package main
import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
"code.google.com/p/weed-fs/go/filer"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/filer"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"os"
"runtime"

View file

@ -1,9 +1,9 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"code.google.com/p/weed-fs/go/weed/weed_server"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
"net/http"
"os"

View file

@ -2,7 +2,7 @@ package main
import (
"bufio"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"fmt"
"os"
)

View file

@ -1,7 +1,7 @@
package main
import (
"code.google.com/p/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/operation"
"encoding/json"
"fmt"
"os"

View file

@ -1,7 +1,7 @@
package main
import (
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/util"
"fmt"
"runtime"
)

View file

@ -1,9 +1,9 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/util"
"code.google.com/p/weed-fs/go/weed/weed_server"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/weed/weed_server"
"net/http"
"os"
"runtime"

View file

@ -1,7 +1,7 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"net/http"
"testing"
"time"

View file

@ -1,7 +1,7 @@
package main
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"flag"
"fmt"
"io"

View file

@ -2,11 +2,11 @@ package weed_server
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/stats"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/stats"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"fmt"
"net"

View file

@ -1,8 +1,8 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/filer"
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/filer"
"github.com/aszxqw/weed-fs/go/glog"
"net/http"
"strconv"
)

View file

@ -1,9 +1,9 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"github.com/syndtr/goleveldb/leveldb"

View file

@ -1,7 +1,7 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"net/http"
)

View file

@ -1,10 +1,10 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/sequence"
"code.google.com/p/weed-fs/go/topology"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/sequence"
"github.com/aszxqw/weed-fs/go/topology"
"github.com/aszxqw/weed-fs/go/util"
"github.com/goraft/raft"
"github.com/gorilla/mux"
"net/http"

View file

@ -1,9 +1,9 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/stats"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/stats"
"github.com/aszxqw/weed-fs/go/storage"
"net/http"
"strconv"
"strings"

View file

@ -2,11 +2,11 @@ package weed_server
import (
proto "code.google.com/p/goprotobuf/proto"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/topology"
"github.com/aszxqw/weed-fs/go/util"
"encoding/json"
"errors"
"io/ioutil"

View file

@ -2,8 +2,8 @@ package weed_server
import (
"bytes"
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/topology"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/topology"
"encoding/json"
"errors"
"fmt"

View file

@ -1,8 +1,8 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/operation"
"encoding/json"
"github.com/goraft/raft"
"io/ioutil"

View file

@ -1,8 +1,8 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/storage"
"math/rand"
"net/http"
"strconv"

View file

@ -1,12 +1,12 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/images"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/stats"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/images"
"github.com/aszxqw/weed-fs/go/operation"
"github.com/aszxqw/weed-fs/go/stats"
"github.com/aszxqw/weed-fs/go/storage"
"github.com/aszxqw/weed-fs/go/topology"
"io"
"mime"
"mime/multipart"

View file

@ -1,9 +1,9 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"code.google.com/p/weed-fs/go/stats"
"code.google.com/p/weed-fs/go/util"
"github.com/aszxqw/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/stats"
"github.com/aszxqw/weed-fs/go/util"
"net/http"
"path/filepath"
)

View file

@ -1,7 +1,7 @@
package weed_server
import (
"code.google.com/p/weed-fs/go/glog"
"github.com/aszxqw/weed-fs/go/glog"
"net/http"
)