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
remove unused code
Chris Lu21f37a0a752c
diff --git a/weed/shell/command_remote_unmount.go b/weed/shell/command_remote_unmount.goindex c2857dbbf0..9b61f5cfb4 100644--- a/weed/shell/command_remote_unmount.go+++ b/weed/shell/command_remote_unmount.go@@ -6,7 +6,6 @@ import ("fmt""github.com/chrislusf/seaweedfs/weed/filer""github.com/chrislusf/seaweedfs/weed/pb/filer_pb"- "github.com/chrislusf/seaweedfs/weed/pb/remote_pb""github.com/chrislusf/seaweedfs/weed/util""io")@@ -78,12 +77,6 @@ func (c *commandRemoteUnmount) Do(args []string, commandEnv *CommandEnv, writerreturn nil}-func (c *commandRemoteUnmount) findRemoteStorageConfiguration(commandEnv *CommandEnv, writer io.Writer, remote *remote_pb.RemoteStorageLocation) (conf *remote_pb.RemoteConf, err error) {-- return filer.ReadRemoteStorageConf(commandEnv.option.GrpcDialOption, commandEnv.option.FilerAddress, remote.Name)--}-func (c *commandRemoteUnmount) purgeMountedData(commandEnv *CommandEnv, dir string) error {// find existing directory, and ensure the directory is empty