Skip to content

feat: resolve symlinks in flist walker when copy_links is active - #2588

Merged
oferchen merged 1 commit into
masterfrom
feature/copy-links-flist-walker
Mar 9, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/copy-links-flist-walker

Conversation

@oferchen

@oferchen oferchen commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add copy_links support to FileListWalker and FileListBuilder
  • When enabled, uses fs::metadata() (stat) instead of fs::symlink_metadata() (lstat) to follow symlinks
  • Symlink targets are included as regular files in the file list

Test plan

  • CI passes (fmt, clippy, nextest, cross-platform)
  • Interop test with upstream rsync using --copy-links

@github-actions github-actions Bot added the enhancement New feature or request label Mar 9, 2026
@oferchen
oferchen merged commit 30591c2 into master Mar 9, 2026
32 checks passed
@oferchen
oferchen deleted the feature/copy-links-flist-walker branch March 9, 2026 08:15
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