aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/backend/disk_file.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-11-27 03:09:42 -0800
committerChris Lu <chris.lu@gmail.com>2019-11-27 03:09:45 -0800
commit0f9ba84274d54cc69e3f592c6c2b058fca9a57e8 (patch)
tree2f2b6df412f778bc2c132d2528b9a4efe073ae47 /weed/storage/backend/disk_file.go
parent67e5f5b55885fb1c017ba5369fc05537966de414 (diff)
downloadseaweedfs-0f9ba84274d54cc69e3f592c6c2b058fca9a57e8.tar.xz
seaweedfs-0f9ba84274d54cc69e3f592c6c2b058fca9a57e8.zip
s3
Diffstat (limited to 'weed/storage/backend/disk_file.go')
-rw-r--r--weed/storage/backend/disk_file.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/storage/backend/disk_file.go b/weed/storage/backend/disk_file.go
index 7f2b39d15..4fc3ed0c4 100644
--- a/weed/storage/backend/disk_file.go
+++ b/weed/storage/backend/disk_file.go
@@ -48,3 +48,7 @@ func (df *DiskFile) GetStat() (datSize int64, modTime time.Time, err error) {
func (df *DiskFile) String() string {
return df.fullFilePath
}
+
+func (df *DiskFile) Instantiate(src *os.File) error {
+ panic("should not implement Instantiate for DiskFile")
+}