Files
RetroArch/samples/tasks/cloudsync
LibretroAdmin 267d4453b5 cloud sync: back up by copying when a rename cannot reach the backup
Backups go under the assets directory, wherever saves live. A rename
fails when those are on different volumes, or on Android when saves are
in a SAF folder, and the file then was not backed up: non-destructive
mode gave up on replacing it.

Fall back to copying the file and removing the original. If it cannot
be removed, drop the copy and report the failure, as the caller relies
on the local file being gone. cloudsync_commit_test covers both a
replaced and a removed file with such a rename refused.
2026-11-09 03:43:06 +01:00
..