Prepare refuses a read-only or non-directory target, a root that is the same file as its target (also through a symlinked directory: N-P0-6) and a directory copied into itself; walks the source once (links as links, or followed with loop detection); lists each existing target directory once instead of a stat per file (N-P2-4/5); fills Existing and the per-file Conflicts and computes exact TotalFiles/TotalBytes (N-P1-13). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| atomic.go | ||
| errors.go | ||
| helpers_test.go | ||
| prepare.go | ||
| prepare_test.go | ||
| source.go | ||
| types.go | ||