Kenneth Skovhede
536e62275f
Changed the logic in recreate to avoid opening the same zip file multiple times.
2025-02-06 21:34:02 +01:00
Kenneth Skovhede and GitHub
9464caf622
Feature/update license 2025 ( #5851 )
...
* Fixed some minor whitespace issues
* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede
ff6757877f
Fixing the inconsistency check on repair.
...
Update the SQL to also group on size (just in case).
Renamed the normal read method to signal that it is unverified.
Made the verified reader use enumeration state machine to avoid materializing the list.
`var`-ified some of the test code.
2024-09-09 15:27:37 +02:00
Kenneth Skovhede
17d9b89fbb
Merge branch 'master' into fix-repair-index-consistency
...
# Conflicts:
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2024-09-09 11:49:34 +02:00
Kenneth Skovhede
c890e824ee
Implemented test for reproducing issue #5196
...
Fixed issue by changing order options are written and verified.
Some whitespace changes due to renaming a method
2024-05-21 15:48:29 +02:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Jojo-1000
6a85544fa5
Check blocklist consistency in recreate to prevent broken filesets.
...
Compact used broken LocalDatabase.GetBlocklists without a hash check, so some backups may contain invalid index files.
2023-12-12 21:28:15 +01:00
Kenneth Skovhede and GitHub
99d0cb3c57
Merge pull request #3953 from warwickmm/make_fields_readonly
...
Mark fields that don't need to be reassigned as readonly
2019-10-21 08:36:17 +02:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
6c05c19ca3
add methods to handle reading the fileset file
2019-09-10 13:07:57 -04:00
Kenneth Hsu
731a8b1644
Remove unused empty methods.
2018-10-10 21:20:40 -07:00
Kenneth Skovhede
52987da027
Improved error message when reading invalid blocklists
2018-05-09 17:37:54 +02:00
Kenneth Hsu
cb0a3ed2a1
Make constructors for abstract classes protected.
...
While this does not affect any behavior, it more accurately describes
the accessibility. Since abstract classes can only be instantiated by
an instance of a derived type, the constructors should at most have
protected access.
2018-04-07 18:04:41 -07:00
Kenneth Skovhede
d9377bab7e
Removed TempFileStram and fixed the two places that were using it, as they both had errors in the way it was used.
2018-01-18 14:25:25 +01:00
vnau
1c67118737
Type pattern conditions removed to compile with AppVeyor.
2017-12-25 23:51:10 +07:00
vnau
62a7901aca
Compression modules refactored to work with streams instead of filenames;
...
Added unit test to check compression reversibility
2017-12-25 04:12:19 +07:00
Kenneth Skovhede
2dc2fb4197
Improved the BlocklistEnumerable with yield statements instead of a manual implementation
2016-03-17 21:42:03 +01:00
Kenneth Skovhede
5bc424437a
Added options to do partial repairs of a temporary local database, to allow faster restore/searching with no local database
2015-04-08 21:01:36 +02:00
Kenneth Skovhede
23744d8915
More refactoring and cleanup
2013-05-08 21:29:59 +02:00
Kenneth Skovhede
8f704d9445
Moved stuff around and dropped the ForestHash namespace
2013-05-08 20:17:07 +02:00