![]() The Go stdlib does not seem to have an efficient os.File.ReadFrom routine for other platforms like it does on Linux with copy_file_range. For Darwin at least we can use clonefile in its place, otherwise if we have a sparse file we'd have a fun surprise with the io.Copy approach.. We should see if there's other platforms that we can enhance here. I've forgotten what's the right route on Windows. Signed-off-by: Danny Canter <danny@dcantah.dev> |
||
---|---|---|
.. | ||
benchsuite | ||
blockfile | ||
btrfs | ||
devmapper | ||
lcow | ||
native | ||
overlay | ||
proxy | ||
storage | ||
testsuite | ||
windows | ||
snapshotter.go |