testing new directory structure

This commit is contained in:
Chris Lu 2013-02-10 03:31:40 -08:00
parent ab6fb13ad7
commit 55f2627fcf
23 changed files with 38 additions and 38 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -3,7 +3,7 @@ package storage
import (
"log"
"os"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
"testing"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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