Interface IUserFileBackupService
- Namespace
- Oscova.Agents.FileBackups
- Assembly
- Oscova.Agents.dll
Captures and restores bounded text snapshots for caller-selected user files.
public interface IUserFileBackupServiceMethods
- CaptureBeforeMutationAsync(string, string, CancellationToken)
-
Captures the current file contents before a caller mutates the file.
- ListBackupsAsync(string, string, CancellationToken)
-
Lists captured versions for the original relative file path.
- ReadBackupAsync(string, string, string, CancellationToken)
-
Reads one stored backup and its text content.
- RestoreBackupAsync(string, string, string, CancellationToken)
-
Restores a backup; cancellation is honored before the final mutation, then the write completes.