One implementation for every FS. Walk and RemoveTree never follow symlinks, so deleting a link to a directory removes only the link (N-P0-3). DirSize returns the root error and counts unreadable subdirectories instead of reporting a silent 0 B (N-P1-14). SameFile compares inodes locally and RealPath on other volumes, so an alias directory is recognised (N-P0-6); Within resolves symlinks on both sides and accepts a not-yet-existing child. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config | ||
| fs | ||
| homedir | ||
| testutil | ||
| theme | ||
| ui | ||
| vfs | ||