Init V4 community edition (#2265)
* Init V4 community edition * Init V4 community edition
This commit is contained in:
11
pkg/filemanager/driver/local/fallocate.go
Normal file
11
pkg/filemanager/driver/local/fallocate.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !linux && !darwin
|
||||
// +build !linux,!darwin
|
||||
|
||||
package local
|
||||
|
||||
import "os"
|
||||
|
||||
// No-op on non-Linux/Darwin platforms.
|
||||
func Fallocate(file *os.File, offset int64, length int64) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user