mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
testing new directory structure
This commit is contained in:
parent
ab6fb13ad7
commit
55f2627fcf
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
"path"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ package storage
|
|||
import (
|
||||
"log"
|
||||
"os"
|
||||
"weed/util"
|
||||
"code.google.com/p/weed-fs/weed/util"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"mime"
|
||||
"net/http"
|
||||
"path"
|
||||
"weed/util"
|
||||
"code.google.com/p/weed-fs/weed/util"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ package storage
|
|||
import (
|
||||
//"log"
|
||||
"os"
|
||||
"weed/util"
|
||||
"code.google.com/p/weed-fs/weed/util"
|
||||
)
|
||||
|
||||
type NeedleMap struct {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"weed/util"
|
||||
"code.google.com/p/weed-fs/weed/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"io/ioutil"
|
||||
"log"
|
||||
"net/url"
|
||||
"weed/util"
|
||||
"code.google.com/p/weed-fs/weed/util"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ package topology
|
|||
|
||||
import (
|
||||
_ "fmt"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package topology
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
)
|
||||
|
||||
type NodeId string
|
||||
|
|
|
@ -3,7 +3,7 @@ package topology
|
|||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
)
|
||||
|
||||
type NodeList struct {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package topology
|
|||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"weed/storage"
|
||||
"code.google.com/p/weed-fs/weed/storage"
|
||||
)
|
||||
|
||||
type VolumeLayout struct {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue