Skip to content

feat: implement --crtimes/-N creation time preservation - #2393

Merged
oferchen merged 1 commit into
masterfrom
feature/crtimes-preservation
Feb 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/crtimes-preservation

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Wire creation time preservation through the full transfer pipeline
  • Add preserve_crtimes to MetadataOptions with builder and accessor
  • Apply creation time on macOS via setattrlist(2) with ATTR_CMN_CRTIME
  • No-op stub on non-macOS platforms with debug logging
  • Add preserve_crtimes to LocalCopyOptions and builder
  • Wire N flag in ParsedServerFlags
  • Wire through receiver and core invocation

Test plan

  • All tests pass
  • cargo clippy clean
  • cargo fmt clean
  • CI passes on all platforms

Wire creation time preservation through the full transfer pipeline:
- Add preserve_crtimes to MetadataOptions with builder and accessor
- Apply creation time on macOS via setattrlist(2) with ATTR_CMN_CRTIME
- No-op stub on non-macOS platforms with debug logging
- Add preserve_crtimes to LocalCopyOptions and builder
- Wire 'N' flag in ParsedServerFlags
- Wire preserve_crtimes through receiver MetadataOptions
- Wire through core invocation for remote server flag string
@github-actions github-actions Bot added the enhancement New feature or request label Feb 21, 2026
@oferchen
oferchen merged commit 7989da1 into master Feb 21, 2026
10 checks passed
@oferchen
oferchen deleted the feature/crtimes-preservation branch February 21, 2026 20:15
oferchen added a commit that referenced this pull request May 1, 2026
Wire creation time preservation through the full transfer pipeline:
- Add preserve_crtimes to MetadataOptions with builder and accessor
- Apply creation time on macOS via setattrlist(2) with ATTR_CMN_CRTIME
- No-op stub on non-macOS platforms with debug logging
- Add preserve_crtimes to LocalCopyOptions and builder
- Wire 'N' flag in ParsedServerFlags
- Wire preserve_crtimes through receiver MetadataOptions
- Wire through core invocation for remote server flag string
oferchen added a commit that referenced this pull request May 5, 2026
Wire creation time preservation through the full transfer pipeline:
- Add preserve_crtimes to MetadataOptions with builder and accessor
- Apply creation time on macOS via setattrlist(2) with ATTR_CMN_CRTIME
- No-op stub on non-macOS platforms with debug logging
- Add preserve_crtimes to LocalCopyOptions and builder
- Wire 'N' flag in ParsedServerFlags
- Wire preserve_crtimes through receiver MetadataOptions
- Wire through core invocation for remote server flag string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant