blob: 271ed0178f2260a51ae43905ab4e16013c8fb27e [file] [log] [blame]
// +build !linux !amd64
package docker
import (
"io"
"os"
)
func CopyFile(dstFile, srcFile *os.File) error {
// No BTRFS reflink suppport, Fall back to normal copy
// FIXME: Check the return of Copy and compare with dstFile.Stat().Size
_, err := io.Copy(dstFile, srcFile)
return err
}