summaryrefslogtreecommitdiff
path: root/libs/io/src/test/java
AgeCommit message (Collapse)Author
2024-11-10Add verifierJoel Klinghed
Used to check if target files have the expected hash. Using a memory cache to not have to read source each time but falls back to reading source if needed.
2024-11-06Change SingleMerge to only use second precision when comparing last modifiedJoel Klinghed
Otherwise you get problems with one file system uses seconds and another milliseconds and suddenly two files that are created at the same time does not have the same timestamp. Makes the test suite take 2 seconds longer to run but it is what it is.
2024-11-06Move BaseSingleMergeTest to test-utilsJoel Klinghed
Will be easier to include in other projects then. And it is where TreeAbstractTest is.
2024-11-05Add single mergeJoel Klinghed
Single as in merge in one direction, a source and a target. Split merge in to calculating (done by SingleMerge) which returns a number of steps to do. Modifier then applies the steps. Still thinking of pair or two-way merge, need a database for that or you can never remove any files.