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 function description
Chris Lu93e0dddbf354
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.goindex 1fd0ed2b9c..6eace2af57 100644--- a/weed/operation/upload_content.go+++ b/weed/operation/upload_content.go@@ -37,6 +37,7 @@ func init() {var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"")+// Upload sends a POST request to a volume server to upload the contentfunc Upload(uploadUrl string, filename string, reader io.Reader, isGzipped bool, mtype string, pairMap map[string]string, jwt security.EncodedJwt) (*UploadResult, error) {return upload_content(uploadUrl, func(w io.Writer) (err error) {_, err = io.Copy(w, reader)