From e909b55633de263b363359c3e045c39c67834ccf Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 11 Apr 2020 12:39:46 -0700 Subject: [PATCH] refactoring --- weed/filer2/reader_at.go | 2 +- weed/filesys/wfs.go | 2 +- weed/server/webdav_server.go | 2 +- weed/{pb => util}/pb_cache/chunk_cache.go | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename weed/{pb => util}/pb_cache/chunk_cache.go (100%) diff --git a/weed/filer2/reader_at.go b/weed/filer2/reader_at.go index b9913d2ca..448aa3465 100644 --- a/weed/filer2/reader_at.go +++ b/weed/filer2/reader_at.go @@ -9,8 +9,8 @@ import ( "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" - "github.com/chrislusf/seaweedfs/weed/pb/pb_cache" "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util/pb_cache" "github.com/chrislusf/seaweedfs/weed/wdclient" ) diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 191b79845..5e994d14e 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -15,8 +15,8 @@ import ( "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" - "github.com/chrislusf/seaweedfs/weed/pb/pb_cache" "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util/pb_cache" "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" ) diff --git a/weed/server/webdav_server.go b/weed/server/webdav_server.go index f4f3b44db..5a9861fe7 100644 --- a/weed/server/webdav_server.go +++ b/weed/server/webdav_server.go @@ -16,8 +16,8 @@ import ( "github.com/chrislusf/seaweedfs/weed/operation" "github.com/chrislusf/seaweedfs/weed/pb" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" - "github.com/chrislusf/seaweedfs/weed/pb/pb_cache" "github.com/chrislusf/seaweedfs/weed/util" + "github.com/chrislusf/seaweedfs/weed/util/pb_cache" "github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/glog" diff --git a/weed/pb/pb_cache/chunk_cache.go b/weed/util/pb_cache/chunk_cache.go similarity index 100% rename from weed/pb/pb_cache/chunk_cache.go rename to weed/util/pb_cache/chunk_cache.go