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 blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
go fmt
Chris Lu402315f117ec
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.goindex a9386ac762..5f5fb060d9 100644--- a/weed/shell/command_remote_cache.go+++ b/weed/shell/command_remote_cache.go@@ -94,7 +94,7 @@ func recursivelyTraverseDirectory(filerClient filer_pb.FilerClient, dirPath utilif err := recursivelyTraverseDirectory(filerClient, subDir, visitEntry); err != nil {return err}- }else {+ } else {if !visitEntry(dirPath, entry) {return nil}diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.goindex a0d41ce6f0..84a27cad69 100644--- a/weed/shell/command_remote_mount.go+++ b/weed/shell/command_remote_mount.go@@ -246,4 +246,4 @@ func doSaveRemoteEntry(client filer_pb.SeaweedFilerClient, localDir string, exisreturn updateErr}return nil-}\ No newline at end of file+}diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.goindex c07894508f..7fc70b7a3f 100644--- a/weed/shell/command_remote_uncache.go+++ b/weed/shell/command_remote_uncache.go@@ -83,8 +83,8 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writererr := commandEnv.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {_, updateErr := client.UpdateEntry(context.Background(), &filer_pb.UpdateEntryRequest{- Directory: string(dir),- Entry: entry,+ Directory: string(dir),+ Entry: entry,})return updateErr})