Refactor for Sync method (#3426)
This commit is contained in:
9
weed/storage/backend/disk_file_others.go
Normal file
9
weed/storage/backend/disk_file_others.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !linux && !darwin
|
||||
// +build !linux,!darwin
|
||||
|
||||
package backend
|
||||
|
||||
// Using default sync operation
|
||||
func (df *DiskFile) Sync() error {
|
||||
return df.File.Sync()
|
||||
}
|
||||
Reference in New Issue
Block a user