Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

go fmt

Chris Lud3839fe2793e
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.go
index 61e6201483..348f144a6b 100644
--- a/weed/filesys/dir_rename.go
+++ b/weed/filesys/dir_rename.go
@@ -4,10 +4,11 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
"context"
+ "math"
+ "path/filepath"
+
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "path/filepath"
- "math"
)
func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirectory fs.Node) error {