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.

remove unused functions

Chris Lu2b8e20f12276
diff --git a/weed/storage/backend/backend.go b/weed/storage/backend/backend.go
index 4b54d89dd5..05a7fe84f4 100644
--- a/weed/storage/backend/backend.go
+++ b/weed/storage/backend/backend.go
@@ -19,7 +19,6 @@ type BackendStorageFile interface {
io.Closer
GetStat() (datSize int64, modTime time.Time, err error)
String() string
- Instantiate(src *os.File) error
}
type BackendStorage interface {
diff --git a/weed/storage/backend/s3_backend/s3_backend.go b/weed/storage/backend/s3_backend/s3_backend.go
index 0f384aa9c0..458a9ca729 100644
--- a/weed/storage/backend/s3_backend/s3_backend.go
+++ b/weed/storage/backend/s3_backend/s3_backend.go
@@ -157,10 +157,3 @@ func (s3backendStorageFile S3BackendStorageFile) String() string {
return s3backendStorageFile.key
}
-func (s3backendStorageFile *S3BackendStorageFile) GetName() string {
- return "s3"
-}
-
-func (s3backendStorageFile S3BackendStorageFile) Instantiate(src *os.File) error {
- panic("implement me")
-}