Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If tmp2 and final files are in same filesystem, rename() not copy() (#…
…314) * If the tmp2 and final files are in the same filesystem, rename() instead of copy() into place. * Final file doesn't exist yet, need to stat the parent directory * gcc is able to convert that value for stat(2), but Windows needs a reinterpret_cast. Add that. Co-authored-by: Chris Ross <cross+chia@distal.com>
- Loading branch information