|
| static bool | IsArchiveOlder (DateTime time, TimeSpan thresholdAge) |
| |
| static string | GetArchiveName (string name, bool isCloudSave) |
| |
| static string | TodaysBackup (string name, bool isCloudSave) |
| |
| static bool | TryGetTime (string file, out DateTime result) |
| |
| static void | RunArchiving (Action< ZipFile, bool, string > saveAction, bool isCloudSave, string dir, string name, string path) |
| | Run a given archiving task, which will archive to a backup .zip file Zip entries added will be compressed.
|
| |
| static void | AddZipEntry (this ZipFile zip, string path, bool isCloud=false) |
| | Adds a new entry to the archive .zip file Will use the best compression level using Deflate Some files are already compressed and will not be compressed further.
|
| |
| static void | DeleteOldArchives (string dir, bool isCloudSave, string name) |
| | Will delete old archive files Algorithm details:
|
| |
| static void | DeleteArchive (string path) |
| |
Definition at line 14 of file BackupIO.cs.
The documentation for this class was generated from the following file: