48 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
9e201cfe65 test: add tests for dir_entry_view::parent() 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
003d315810 test: add readv tests with maxiov argument 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
49adb18131 refactor(filesystem_v2): char const* -> string_view 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
05f788f6f0 feat(filesystem_v2): return dir_entry_view from find() 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
436949a98d feat(filesystem_v2): return dir_entry_view from readdir() 2025-03-14 15:07:49 +01:00
Marcus Holland-Moritz
52aef6af7d refactor(filesystem_writer): remove compressor arguments in ctor 2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
c37410d602 refactor: file_order -> fragment_order 2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
8f8c5b1de8 refactor: factor out remaining options from options.h 2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
e4dfd24e8d refactor: factor out reader options 2024-08-14 14:45:17 +02:00
Marcus Holland-Moritz
c2513f4e81 test: add env variable to allow skipping slow tests in CI 2024-08-13 11:53:01 +02:00
Marcus Holland-Moritz
68c2538d7b build: switch from using compile_definitions to config.h 2024-08-12 17:32:04 +02:00
Marcus Holland-Moritz
c1fbaf7789 wip: more refactoring 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
e81c2de507 refactor: move writer library to writer namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
65f1d28f2b refactor: move all reader library code to reader namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
6fd2990928 refactor: move reader library code 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
0987dba63d refactor: replace script with separate filters and transformers 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
7eb47649ff refactor: move most of filesytem_writer to internal namespace 2024-08-09 23:27:20 +02:00
Marcus Holland-Moritz
78dc5a3883 fix: move folly include after gtest due to symbol conflict on Windows 2024-08-02 00:40:08 +02:00
Marcus Holland-Moritz
248a16c7bb refactor: remove deprecated dump / info_as_json methods 2024-08-01 10:17:23 +02:00
Marcus Holland-Moritz
964a4f49e6 refactor(file_stat): turn into proper object with hidden data 2024-07-31 22:36:13 +02:00
Marcus Holland-Moritz
eb8b751146 feat(filesystem_v2): more flexible read API 2024-07-29 23:51:37 +02:00
Marcus Holland-Moritz
df64fa05aa refactor(segmenter_factory): more flexible ctors 2024-07-29 12:31:09 +02:00
Marcus Holland-Moritz
42e7af8cd2 refactor(scanner): clean up ctor 2024-07-29 12:21:32 +02:00
Marcus Holland-Moritz
fc21c5d9d5 refactor(entry): move to internal namespace 2024-07-29 12:05:44 +02:00
Marcus Holland-Moritz
61d77b3295 refactor(progress): hide internals behind new writer_progress class 2024-07-29 11:15:57 +02:00
Marcus Holland-Moritz
1995bea40d refactor(fs_section): move to internal namespace 2024-07-28 22:45:29 +02:00
Marcus Holland-Moritz
3ae80f564e refactor: cleanup read/readv APIs 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
b00a26ad10 refactor: remove readlink version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
62899bbd73 refactor: remove access version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
6a2cc3f860 refactor: remove getattr version returning int 2024-07-28 18:58:08 +02:00
Marcus Holland-Moritz
77ca8d2b3b refactor: introduce thread_pool and make worker_group internal 2024-07-26 21:08:41 +02:00
Marcus Holland-Moritz
75d6c92821 refactor: make progress class use std::function and chrono duration 2024-07-26 21:08:41 +02:00
Marcus Holland-Moritz
522efd04f7 refactor: switch to using system includes for dwarfs headers 2024-05-22 14:56:08 +02:00
Marcus Holland-Moritz
96a0afed95 refactor: folly::dynamic -> nlohmann::json, part 1 2024-05-14 17:59:33 +02:00
Marcus Holland-Moritz
965fa93b3f fix: duf reports odd sizes due to using bsize instead of frsize
This is arguably a bug in `duf`, but the `bsize` value reported by
DwarFS isn't that relevant, so we might just change it here.
2024-05-07 08:38:59 +02:00
Marcus Holland-Moritz
9e1d7fa618 fix(metadata): handle root uid correctly in access() (fixes gh #204) 2024-03-28 15:10:20 +01:00
Marcus Holland-Moritz
f1f55dd48c feat(dwarfs): add readahead option
The implementation is extremely simple for now and readahead is off
by default. When sequentially accessing large files, the speedup can
be significant, though.
2024-02-12 14:34:40 +01:00
Marcus Holland-Moritz
96d526fc8d fix(file_scanner): large hard linked files caused an exception
Somehow I managed to either completely forget to add items to
`file_start_hash_`, or I managed to remove the code at some point.
In any case, this meant large hard linked files could not to be
found in `unique_size_`, ultimately causing the file scanner to
throw.
2024-02-09 09:13:59 +01:00
Marcus Holland-Moritz
c323b84012 test: exercise script and entry interfaces 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
6f3ad2a563 test: try to improve test speed a bit 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
06e1910554 refactor: pass os_access to worker_group and other classes 2024-01-20 12:46:40 +01:00
Marcus Holland-Moritz
3dbe63b7df chore: support logging in worker_group 2024-01-14 20:16:06 +01:00
Marcus Holland-Moritz
2e02131478 fix(metadata): exit from find() if we found a non-directory inode 2024-01-14 15:31:53 +01:00
Marcus Holland-Moritz
710b321ac5 test: add mkdwarfs --debug-filter tests 2024-01-02 19:38:35 +01:00
Marcus Holland-Moritz
043b0b1e0e test: include lzma binary filters in end-to-end tests 2024-01-02 12:05:05 +01:00
Marcus Holland-Moritz
46e6fbb721 chore: use file_access abstraction in builtin_script 2023-12-30 16:45:18 +01:00
Marcus Holland-Moritz
dc904ba730 test: add regression test for gh #183 2023-12-28 19:02:03 +01:00
Marcus Holland-Moritz
cce7cdd494 refactor: simplify test handling in CMakeLists.txt 2023-12-24 09:11:47 +01:00