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.

fmt

chrislu4a764dbb3718
diff --git a/.github/workflows/container_release_unified.yml b/.github/workflows/container_release_unified.yml
index c7aa648fd8..9e3a0a451a 100644
--- a/.github/workflows/container_release_unified.yml
+++ b/.github/workflows/container_release_unified.yml
@@ -224,3 +224,4 @@ jobs:
echo "✓ Successfully copied ${{ matrix.variant }} to Docker Hub"
+
diff --git a/.github/workflows/s3-filer-group-tests.yml b/.github/workflows/s3-filer-group-tests.yml
index 5a81afe90d..ca15ff8fc5 100644
--- a/.github/workflows/s3-filer-group-tests.yml
+++ b/.github/workflows/s3-filer-group-tests.yml
@@ -83,3 +83,4 @@ jobs:
path: test/s3/filer_group/weed-test*.log
retention-days: 3
+
diff --git a/.github/workflows/sftp-tests.yml b/.github/workflows/sftp-tests.yml
index 9467bda2eb..fe513835b7 100644
--- a/.github/workflows/sftp-tests.yml
+++ b/.github/workflows/sftp-tests.yml
@@ -91,3 +91,4 @@ jobs:
echo "| readonly | /public | Read-only |" >> $GITHUB_STEP_SUMMARY
+
diff --git a/test/metadata_subscribe/Makefile b/test/metadata_subscribe/Makefile
index 93ee69202e..6056b1f281 100644
--- a/test/metadata_subscribe/Makefile
+++ b/test/metadata_subscribe/Makefile
@@ -25,3 +25,4 @@ test-resume: build-weed
clean:
rm -f ../../weed/weed
+
diff --git a/test/metadata_subscribe/README.md b/test/metadata_subscribe/README.md
index 48e9008395..74e2e52f73 100644
--- a/test/metadata_subscribe/README.md
+++ b/test/metadata_subscribe/README.md
@@ -47,3 +47,4 @@ go test -v -timeout 5m ./test/metadata_subscribe/...
- Tests create temporary directories that are cleaned up after completion
- Tests use ports 9333 (master), 8080 (volume), 8888 (filer)
+
diff --git a/test/s3/etag/README.md b/test/s3/etag/README.md
index 215a43c0a6..0153b7e7f7 100644
--- a/test/s3/etag/README.md
+++ b/test/s3/etag/README.md
@@ -90,3 +90,4 @@ These tests use **AWS SDK v2 for Go**, which has the same ETag validation behavi
- [GitHub Issue #7768](https://github.com/seaweedfs/seaweedfs/issues/7768)
- [AWS S3 ETag Documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html)
+
diff --git a/test/s3/etag/test_config.json b/test/s3/etag/test_config.json
index 268a54787c..51d1eea213 100644
--- a/test/s3/etag/test_config.json
+++ b/test/s3/etag/test_config.json
@@ -17,3 +17,4 @@
}
}
+
diff --git a/test/s3/filer_group/test_config.json b/test/s3/filer_group/test_config.json
index 3e0f8f17c5..34a4e5d663 100644
--- a/test/s3/filer_group/test_config.json
+++ b/test/s3/filer_group/test_config.json
@@ -5,4 +5,4 @@
"secret_key": "some_secret_key1",
"region": "us-east-1",
"filer_group": "testgroup"
-}
\ No newline at end of file
+}
diff --git a/test/sftp/README.md b/test/sftp/README.md
index 17b5e67c71..0a8f98276a 100644
--- a/test/sftp/README.md
+++ b/test/sftp/README.md
@@ -90,3 +90,4 @@ To debug test failures:
```
+
diff --git a/test/sftp/testdata/userstore.json b/test/sftp/testdata/userstore.json
index 66d78dd1dd..2ffa845397 100644
--- a/test/sftp/testdata/userstore.json
+++ b/test/sftp/testdata/userstore.json
@@ -35,3 +35,4 @@
]
+
diff --git a/weed/filer/empty_folder_cleanup/cleanup_queue.go b/weed/filer/empty_folder_cleanup/cleanup_queue.go
index f92af389d0..aabcaeaf93 100644
--- a/weed/filer/empty_folder_cleanup/cleanup_queue.go
+++ b/weed/filer/empty_folder_cleanup/cleanup_queue.go
@@ -205,3 +205,4 @@ func (q *CleanupQueue) OldestAge() time.Duration {
}
+
diff --git a/weed/filer/empty_folder_cleanup/cleanup_queue_test.go b/weed/filer/empty_folder_cleanup/cleanup_queue_test.go
index 2effa31388..1295fa0d4f 100644
--- a/weed/filer/empty_folder_cleanup/cleanup_queue_test.go
+++ b/weed/filer/empty_folder_cleanup/cleanup_queue_test.go
@@ -369,3 +369,4 @@ func TestCleanupQueue_Concurrent(t *testing.T) {
}
+
diff --git a/weed/iam/helpers.go b/weed/iam/helpers.go
index 02b5fe5b4d..e05219149a 100644
--- a/weed/iam/helpers.go
+++ b/weed/iam/helpers.go
@@ -124,3 +124,4 @@ func MaskAccessKey(accessKeyId string) string {
return accessKeyId
}
+
diff --git a/weed/iam/helpers_test.go b/weed/iam/helpers_test.go
index c9913d28af..6b67444756 100644
--- a/weed/iam/helpers_test.go
+++ b/weed/iam/helpers_test.go
@@ -133,3 +133,4 @@ func TestMaskAccessKey(t *testing.T) {
}
}
+
diff --git a/weed/s3api/s3_constants/buckets.go b/weed/s3api/s3_constants/buckets.go
index a10cf0f504..97f86d5698 100644
--- a/weed/s3api/s3_constants/buckets.go
+++ b/weed/s3api/s3_constants/buckets.go
@@ -4,3 +4,4 @@ const (
// DefaultBucketsPath is the default path for S3 buckets in the filer
DefaultBucketsPath = "/buckets"
)
+
diff --git a/weed/s3api/s3_constants/header_test.go b/weed/s3api/s3_constants/header_test.go
index b16cfc6a8e..f1cb06faca 100644
--- a/weed/s3api/s3_constants/header_test.go
+++ b/weed/s3api/s3_constants/header_test.go
@@ -130,3 +130,4 @@ func TestRemoveDuplicateSlashes(t *testing.T) {
}
}
+
diff --git a/weed/wdclient/masterclient_test.go b/weed/wdclient/masterclient_test.go
index d88de40c1b..bf992e8847 100644
--- a/weed/wdclient/masterclient_test.go
+++ b/weed/wdclient/masterclient_test.go
@@ -102,3 +102,4 @@ func TestMasterClientFilerGroupLogging(t *testing.T) {
}
}
+