Skip to content

Split local copy error definitions into dedicated module - #1749

Closed
oferchen wants to merge 1 commit into
masterfrom
prepare-production-release-for-oc-rsync
Closed

oferchen wants to merge 1 commit into
masterfrom
prepare-production-release-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Oct 31, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • extract local copy error handling types into a dedicated module to start decomposing the oversized local_copy implementation
  • re-export the error types from the main module and clean up unused imports

Testing

  • cargo check -p rsync-engine

@oferchen oferchen closed this Oct 31, 2025
@oferchen
oferchen deleted the prepare-production-release-for-oc-rsync branch October 31, 2025 10:04
oferchen added a commit that referenced this pull request May 5, 2026
Design note for the Windows tier-2 copy path - the analogue of Linux
copy_file_range and macOS fcopyfile - replacing the existing
windows-sys raw FFI body in crates/fast_io/src/platform_copy/dispatch.rs
with a windows-rs implementation, wiring the progress routine and
cancel pointer through to the receiver, and introducing a CopyFile2
variant for forward-compatible flag plumbing. Wire protocol and the
public PlatformCopy trait are unchanged.
oferchen added a commit that referenced this pull request May 5, 2026
Design note for the Windows tier-2 copy path - the analogue of Linux
copy_file_range and macOS fcopyfile - replacing the existing
windows-sys raw FFI body in crates/fast_io/src/platform_copy/dispatch.rs
with a windows-rs implementation, wiring the progress routine and
cancel pointer through to the receiver, and introducing a CopyFile2
variant for forward-compatible flag plumbing. Wire protocol and the
public PlatformCopy trait are unchanged.
oferchen added a commit that referenced this pull request May 5, 2026
…) (#3726)

Design note for the Windows tier-2 copy path - the analogue of Linux
copy_file_range and macOS fcopyfile - replacing the existing
windows-sys raw FFI body in crates/fast_io/src/platform_copy/dispatch.rs
with a windows-rs implementation, wiring the progress routine and
cancel pointer through to the receiver, and introducing a CopyFile2
variant for forward-compatible flag plumbing. Wire protocol and the
public PlatformCopy trait are unchanged.
oferchen added a commit that referenced this pull request May 7, 2026
#3932)

Plan for wiring CopyFileExW with COPY_FILE_NO_BUFFERING and
COPY_FILE_RESTARTABLE inside fast_io, including progress callback
trampoline, same-volume NTFS trigger conditions, and fallback
semantics matching the Linux copy_file_range path (#1749).
oferchen added a commit that referenced this pull request May 17, 2026
Record the shipped state of the Windows CopyFileExW fast path and its
parity with the Linux copy_file_range analogue. Confirms both issues are
complete: standalone safe wrapper in copy_file_ex.rs, full dispatch chain
(ReFS reflink -> CopyFileExW -> std::fs::copy) in platform_copy, and
Windows-gated tests covering NTFS fallback, size-based dispatch, and
byte-exact copy semantics.
oferchen added a commit that referenced this pull request May 18, 2026
…) (#3726)

Design note for the Windows tier-2 copy path - the analogue of Linux
copy_file_range and macOS fcopyfile - replacing the existing
windows-sys raw FFI body in crates/fast_io/src/platform_copy/dispatch.rs
with a windows-rs implementation, wiring the progress routine and
cancel pointer through to the receiver, and introducing a CopyFile2
variant for forward-compatible flag plumbing. Wire protocol and the
public PlatformCopy trait are unchanged.
oferchen added a commit that referenced this pull request May 18, 2026
#3932)

Plan for wiring CopyFileExW with COPY_FILE_NO_BUFFERING and
COPY_FILE_RESTARTABLE inside fast_io, including progress callback
trampoline, same-volume NTFS trigger conditions, and fallback
semantics matching the Linux copy_file_range path (#1749).
oferchen added a commit that referenced this pull request May 18, 2026
Record the shipped state of the Windows CopyFileExW fast path and its
parity with the Linux copy_file_range analogue. Confirms both issues are
complete: standalone safe wrapper in copy_file_ex.rs, full dispatch chain
(ReFS reflink -> CopyFileExW -> std::fs::copy) in platform_copy, and
Windows-gated tests covering NTFS fallback, size-based dispatch, and
byte-exact copy semantics.
oferchen added a commit that referenced this pull request May 18, 2026
Record the shipped state of the Windows CopyFileExW fast path and its
parity with the Linux copy_file_range analogue. Confirms both issues are
complete: standalone safe wrapper in copy_file_ex.rs, full dispatch chain
(ReFS reflink -> CopyFileExW -> std::fs::copy) in platform_copy, and
Windows-gated tests covering NTFS fallback, size-based dispatch, and
byte-exact copy semantics.
oferchen added a commit that referenced this pull request Aug 24, 2026
…) (#3726)

Design note for the Windows tier-2 copy path - the analogue of Linux
copy_file_range and macOS fcopyfile - replacing the existing
windows-sys raw FFI body in crates/fast_io/src/platform_copy/dispatch.rs
with a windows-rs implementation, wiring the progress routine and
cancel pointer through to the receiver, and introducing a CopyFile2
variant for forward-compatible flag plumbing. Wire protocol and the
public PlatformCopy trait are unchanged.
oferchen added a commit that referenced this pull request Aug 24, 2026
#3932)

Plan for wiring CopyFileExW with COPY_FILE_NO_BUFFERING and
COPY_FILE_RESTARTABLE inside fast_io, including progress callback
trampoline, same-volume NTFS trigger conditions, and fallback
semantics matching the Linux copy_file_range path (#1749).
oferchen added a commit that referenced this pull request Aug 24, 2026
Record the shipped state of the Windows CopyFileExW fast path and its
parity with the Linux copy_file_range analogue. Confirms both issues are
complete: standalone safe wrapper in copy_file_ex.rs, full dispatch chain
(ReFS reflink -> CopyFileExW -> std::fs::copy) in platform_copy, and
Windows-gated tests covering NTFS fallback, size-based dispatch, and
byte-exact copy semantics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant