github.com/xhghs/rclone@v1.51.1-0.20200430155106-e186a28cced8/backend/local/preallocate_other.go (about)

     1  //+build !windows,!linux
     2  
     3  package local
     4  
     5  import "os"
     6  
     7  // preAllocate the file for performance reasons
     8  func preAllocate(size int64, out *os.File) error {
     9  	return nil
    10  }