diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-07-08 02:28:04 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-07-08 02:28:04 -0700 |
| commit | d4d7ced922866e76e8c004d1c1045bcda2b25d5e (patch) | |
| tree | 199d7a8895ce1225ae5647cfaeb15cec6f73cf4f /weed/command/export.go | |
| parent | 922032b9bb2c885d5f65d1f835878a8b2d39a2a6 (diff) | |
| download | seaweedfs-d4d7ced922866e76e8c004d1c1045bcda2b25d5e.tar.xz seaweedfs-d4d7ced922866e76e8c004d1c1045bcda2b25d5e.zip | |
refactoring: add type for needle id, offset
later the type size can possibly be adjusted
Diffstat (limited to 'weed/command/export.go')
| -rw-r--r-- | weed/command/export.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/export.go b/weed/command/export.go index 0f7496472..72fcae9fb 100644 --- a/weed/command/export.go +++ b/weed/command/export.go @@ -14,6 +14,7 @@ import ( "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/types" ) const ( @@ -157,7 +158,7 @@ func runExport(cmd *Command, args []string) bool { type nameParams struct { Name string - Id uint64 + Id types.NeedleId Mime string Key string Ext string |
