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