mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
16 lines
263 B
Go
16 lines
263 B
Go
//+build !windows,!linux
|
|
|
|
package file
|
|
|
|
import "os"
|
|
|
|
// PreAllocate the file for performance reasons
|
|
func PreAllocate(size int64, out *os.File) error {
|
|
return nil
|
|
}
|
|
|
|
// SetSparse makes the file be a sparse file
|
|
func SetSparse(out *os.File) error {
|
|
return nil
|
|
}
|