summaryrefslogtreecommitdiff
path: root/src/generation.rs
AgeCommit message (Expand)AuthorFilesLines
2021-12-31feat: compare schema versions for compatibilityLars Wirzenius1-1/+63
2021-12-31docs: add documentation comments to crateLars Wirzenius1-3/+58
2021-12-05chore: tidy up things found by newer Rust toolchainLars Wirzenius1-6/+5
2021-11-27feat! turn errors from backup root directory into errorsLars Wirzenius1-0/+3
2021-11-20chore: bump dependency on rusqlite to 0.26.1 and fix breakageLars Wirzenius1-5/+5
2021-10-24feat! store schema version of generation database in the dbLars Wirzenius1-0/+115
2021-08-09refactor: drop NascentGeneration::insert_iterLars Wirzenius1-31/+12
2021-08-09refactor: use for loop over an iterator instead of .insert_iterLars Wirzenius1-3/+0
2021-08-09refactor: call NascentGeneration::insert from ::insert_iterLars Wirzenius1-4/+1
2021-08-01refactor: use a struct for GenIdLars Wirzenius1-5/+28
2021-08-01refactor: add a type alias for generation idsLars Wirzenius1-0/+3
2021-07-30cleanup: fix things rustc/clipppy now complain aboutLars Wirzenius1-4/+4
2021-07-28Mark CACHEDIR.TAGs in the databaseAlexander Batischev1-23/+114
2021-07-21Replace LocalGenerationResult with plain ResultAlexander Batischev1-24/+32
2021-07-21Replace NascentResult with plain ResultAlexander Batischev1-5/+3
2021-07-21backup_run: replace tuple with a structAlexander Batischev1-4/+4
2021-07-21Replace BackupResult with plain ResultAlexander Batischev1-2/+2
2021-07-05refactor: code to run backups to have less repetitionLars Wirzenius1-1/+9
2021-04-29feat: improve error messagesLars Wirzenius1-8/+8
2021-04-26Port chunkids() to the iterator APIAlexander Batischev1-10/+17
2021-04-26Generalize the machinery to arbitrary result typesAlexander Batischev1-18/+55
2021-04-26Extend the iterator to users of LocalGeneration::files()Alexander Batischev1-2/+2
2021-04-26Use an iterator internally for LocalGenerationAlexander Batischev1-19/+32
2021-04-26Expose fallibility of individual SQL resultsAlexander Batischev1-6/+14
2021-04-06chore: clean up unnecessary use of ? based on clippy reportsLars Wirzenius1-6/+6
2021-03-27refactor: drop unused lifetime annotationLars Wirzenius1-1/+1
2021-03-27refactor: drop unnecessary conversions to the same typeLars Wirzenius1-1/+1
2021-03-27refactor: avoid confusing function name from_strLars Wirzenius1-1/+1
2021-03-12feat: show warnings for any problems backing up filesLars Wirzenius1-5/+14
2021-02-04refactor: have per-module error enumsLars Wirzenius1-22/+61
2021-01-05refactor: add BackedUpFile to avoid using a tupleLars Wirzenius1-4/+34
2021-01-05refactor: move policy on whether to back up a file into a moduleLars Wirzenius1-2/+2
2021-01-04refactor: add a type alias for file identifiers in generationsLars Wirzenius1-15/+18
2021-01-04feat! record whether file was backed up and why, in a generationLars Wirzenius1-22/+31
2021-01-04feat: add an index for chunk ids lookupsLars Wirzenius1-0/+1
2021-01-01feat: use SQL to look up information for a file, by filenameLars Wirzenius1-14/+24
2021-01-01feat! use signed 64 bit integers as file numbers, file countsLars Wirzenius1-17/+15
2021-01-01refactor: move SQL use into sub-moduleLars Wirzenius1-58/+92
2020-12-31feat: incremental backupLars Wirzenius1-0/+32
2020-12-31refactor: add LocalGeneration type for read-only operationsLars Wirzenius1-55/+59
2020-12-30feat: add GenerationListLars Wirzenius1-0/+1
2020-12-30feat! store and show timestamp for each backup generationLars Wirzenius1-2/+3
2020-12-27add FinishedGenerationLars Wirzenius1-1/+30
2020-12-27refactor: rename Generation to NascentGenerationLars Wirzenius1-4/+4
2020-12-11feat! store file metadata as JSONLars Wirzenius1-24/+11
2020-11-23feat: progress reporting to backups and restoresLars Wirzenius1-18/+37
2020-11-10feat: restore a generationLars Wirzenius1-5/+57
2020-11-09fix: minor fixes found by clippyLars Wirzenius1-1/+1
2020-11-08feat: add Generation to represent data in a backup generationLars Wirzenius1-0/+94