Add inline doc comments and cargo doc to CI

This commit is contained in:
2026-06-01 14:13:35 +02:00
parent 51d3d714ba
commit 593ea7b51f
4 changed files with 20 additions and 2 deletions
+5
View File
@@ -92,6 +92,11 @@ pub fn recover_bak_to_sav(
// ── full backup ────────────────────────────────────────────────────────────
/// Create a full backup of the save folder to `NotAlterra_Backups/notalterra_copy_<timestamp>`.
/// Create a full backup of all `savegame_*` files.
///
/// Copies every `.sav` and `.bak` file from the save folder into a
/// timestamped subdirectory under `backup_root/NotAlterra_Backups/`.
/// Returns the number of files copied and the backup path.
pub fn create_full_backup(
save_folder: &Path,
backup_root: &Path,