mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-01 10:36:30 +08:00
12 lines
203 B
Go
12 lines
203 B
Go
//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
|
|
}
|