testing compilation with remove package

This commit is contained in:
Chris Lu 2013-02-10 03:49:51 -08:00
parent 55f2627fcf
commit 5071f528f6
51 changed files with 39 additions and 39 deletions

View file

@ -7,8 +7,8 @@ import (
"log"
"os"
"path"
"code.google.com/p/weed-fs/weed/directory"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/directory"
"code.google.com/p/weed-fs/go/storage"
"strconv"
"strings"
"text/template"

View file

@ -4,7 +4,7 @@ import (
"log"
"os"
"path"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
"strconv"
)

View file

@ -5,9 +5,9 @@ import (
"errors"
"log"
"net/http"
"code.google.com/p/weed-fs/weed/replication"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"code.google.com/p/weed-fs/go/replication"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"runtime"
"strconv"
"strings"

View file

@ -7,8 +7,8 @@ import (
"net/url"
"os"
"path"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/util"
"strconv"
)

View file

@ -7,8 +7,8 @@ import (
"mime"
"net/http"
"os"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/storage"
"runtime"
"strconv"
"strings"

View file

@ -2,8 +2,8 @@ package directory
import (
"encoding/hex"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"strings"
)

View file

@ -4,9 +4,9 @@ import (
"encoding/json"
"errors"
"net/url"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"code.google.com/p/weed-fs/go/util"
)
type AllocateVolumeResult struct {

View file

@ -5,8 +5,8 @@ import (
"errors"
_ "fmt"
"net/url"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
)
type Location struct {

View file

@ -4,9 +4,9 @@ import (
"errors"
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"code.google.com/p/weed-fs/go/operation"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"sync"
)

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/topology"
"testing"
"time"
)

View file

@ -3,13 +3,13 @@ package storage
import (
"log"
"os"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/util"
"testing"
)
func TestMemoryUsage(t *testing.T) {
indexFile, ie := os.OpenFile("sample.idx", os.O_RDWR|os.O_RDONLY, 0644)
indexFile, ie := os.OpenFile("../../test/sample.idx", os.O_RDWR|os.O_RDONLY, 0644)
if ie != nil {
log.Fatalln(ie)
}

View file

@ -7,7 +7,7 @@ import (
"mime"
"net/http"
"path"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/util"
"strconv"
"strings"
)

View file

@ -3,7 +3,7 @@ package storage
import (
//"log"
"os"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/util"
)
type NeedleMap struct {

View file

@ -5,7 +5,7 @@ import (
"fmt"
"io"
"os"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/util"
)
const (

View file

@ -6,7 +6,7 @@ import (
"io/ioutil"
"log"
"net/url"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/util"
"strconv"
"strings"
)

View file

@ -2,7 +2,7 @@ package topology
import (
_ "fmt"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
"strconv"
)

View file

@ -2,7 +2,7 @@ package topology
import (
"fmt"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
)
type NodeId string

View file

@ -3,7 +3,7 @@ package topology
import (
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
)
type NodeList struct {

View file

@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
"testing"
"time"
)

View file

@ -4,9 +4,9 @@ import (
"errors"
"io/ioutil"
"math/rand"
"code.google.com/p/weed-fs/weed/directory"
"code.google.com/p/weed-fs/weed/sequence"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/directory"
"code.google.com/p/weed-fs/go/sequence"
"code.google.com/p/weed-fs/go/storage"
)
type Topology struct {

View file

@ -5,8 +5,8 @@ import (
"errors"
"fmt"
"net/url"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
"code.google.com/p/weed-fs/go/storage"
"code.google.com/p/weed-fs/go/util"
"time"
)

View file

@ -3,7 +3,7 @@ package topology
import (
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
"time"
)

View file

@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"math/rand"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/go/storage"
)
type VolumeLayout struct {