Marcus Holland-Moritz
3e1d69ea2a
chore: support map_file
without size argument
2024-01-01 16:56:46 +01:00
Marcus Holland-Moritz
6d4153ca87
chore: add create_random_string() test helper
2023-12-30 20:13:17 +01:00
Marcus Holland-Moritz
ac3248f966
feat: add getenv() abstraction to os_access
2023-12-30 15:56:21 +01:00
Marcus Holland-Moritz
84b5b6f32a
refactor: add current_path() abstraction to os_access
2023-12-30 00:47:11 +01:00
Marcus Holland-Moritz
1ef2b61207
refactor: add canonical() to os_access
2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
7b2029674d
refactor: simplify calling *_main() from tests even more
2023-12-28 19:02:52 +01:00
Marcus Holland-Moritz
e461e167fc
test: new add_local_files test helper
2023-12-25 20:58:31 +01:00
Marcus Holland-Moritz
3dabe4d154
fix(entry): root path should only have a single slash (+tests)
2023-12-18 19:12:58 +01:00
Marcus Holland-Moritz
f5e97a3212
test: support adding files with random contents
2023-12-17 23:02:28 +01:00
Marcus Holland-Moritz
78c15ad028
Ownership cleanup
2023-12-17 22:58:51 +01:00
Marcus Holland-Moritz
b8d8246801
test: add mock_directory cache to avoid linear scans of large dirs
2023-10-29 08:26:40 +01:00
Marcus Holland-Moritz
5a17c877a3
More moving from std::string to fs::path
2023-06-26 10:53:56 +02:00
Marcus Holland-Moritz
2836a488ea
WIP: std::string -> fs::path
2023-06-26 00:34:42 +02:00
Marcus Holland-Moritz
056dab970b
More portability fixes
2023-06-22 17:16:50 +02:00
Marcus Holland-Moritz
1f8752fa23
More portability fixes
2023-06-22 17:05:32 +02:00
Marcus Holland-Moritz
b2a7a12159
More portability fixes
2023-06-22 16:53:50 +02:00
Marcus Holland-Moritz
fd157eb611
WIP file_stat
2023-06-22 00:15:26 +02:00
Marcus Holland-Moritz
ce9216f581
Add unreadable files as empty files (fixes gh #40 )
2022-11-16 12:30:17 +01:00
Marcus Holland-Moritz
6920df7334
Improved deduplication algorithm
...
Instead of hashing all files unconditionally, the new algorithm first
checks if there are multiple files of the same size. Files with a
unique size cannot have duplicates and so don't have to be hashed at
all.
2022-10-29 18:54:31 +02:00
Marcus Holland-Moritz
7c0b22d3bd
Fix ctors that were missing explicit keyword
2022-06-10 18:49:18 +02:00
Marcus Holland-Moritz
54b27f5662
Make os_access_mock more flexible
2021-05-03 12:53:45 +02:00
Marcus Holland-Moritz
fdc25fb1ac
Add small test suite for testing the fuse driver & binaries
2021-04-12 19:00:48 +02:00
Marcus Holland-Moritz
f87aa4a8cf
Factor out test helpers
2021-03-25 00:45:38 +01:00