summaryrefslogtreecommitdiff
path: root/libs/io/src/main/java/org
AgeCommit message (Collapse)Author
2024-11-10detekt: Remove LongParameterListJoel Klinghed
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-09single merge: Improve inside root check for symlinks with targetsJoel Klinghed
2024-11-09single merge: Avoid loopsJoel Klinghed
If a symlink points to a directory already visited in parent path, don't visit. Otherwise you will get a stack overflow.
2024-11-09single merge: Put non-mutable parameters in a data classJoel Klinghed
Reduces parameter count.
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-06Remove more opinionated detekt checksJoel Klinghed
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.
2024-10-14Add path to LinkJoel Klinghed
It's implementation specific if path is relative or absolute but it contains the link target. Especially useful for NoTarget.
2024-08-25Document io classesJoel Klinghed
2024-08-22Add AutoClosable to Tree interfaceJoel Klinghed
Some backends have resources to free, such as the SambaTree.
2024-07-16Break out io code in libsJoel Klinghed
Preparing for adding more io implementations. Really tried writing the convention plugins in kotlin dsl but could not find the exact right hacks to get it to work.