Items on another volume go to $topdir/.Trash/$uid (real, sticky .Trash only) or $topdir/.Trash-$uid instead of failing with EXDEV (N-P2-12). The .trashinfo is reserved with O_EXCL (collisions get a .N suffix and skip orphans in files/), Path= is URL-encoded, DeletionDate is local time, and under sudo the effective user's trash is used. The old UI's MoveToTrash now delegates here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| remote | ||
| archive.go | ||
| entry.go | ||
| ops.go | ||
| ops_test.go | ||
| preview.go | ||
| scan.go | ||