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
add "copied from https://github.com/restic/restic/tree/master/internal/selfupdate"
guol-fnst78fc9cdfa0cd
diff --git a/weed/command/command.go b/weed/command/command.goindex b16de3eba2..7635405dc9 100644--- a/weed/command/command.go+++ b/weed/command/command.go@@ -37,8 +37,8 @@ var Commands = []*Command{cmdScaffold,cmdServer,cmdShell,- cmdUpload,cmdUpdate,+ cmdUpload,cmdVersion,cmdVolume,cmdWebDav,diff --git a/weed/command/update.go b/weed/command/update.goindex bda904a85f..64a6649231 100644--- a/weed/command/update.go+++ b/weed/command/update.go@@ -25,6 +25,8 @@ import ("golang.org/x/net/context/ctxhttp")+//copied from https://github.com/restic/restic/tree/master/internal/selfupdate+// Release collects data about a single release on GitHub.type Release struct {Name string `json:"name"`@@ -59,8 +61,8 @@ func init() {var cmdUpdate = &Command{UsageLine: "update [-output=weed]",- Short: "get latest stable version from https://github.com/chrislusf/seaweedfs",- Long: `get latest stable version from https://github.com/chrislusf/seaweedfs`,+ Short: "get latest version from https://github.com/chrislusf/seaweedfs",+ Long: `get latest version from https://github.com/chrislusf/seaweedfs`,}func runUpdate(cmd *Command, args []string) bool {