mirror of
https://github.com/rclone/rclone.git
synced 2024-12-25 16:38:59 +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
|
||
|
}
|