0ad/source/lib/file
Ralph Sennhauser 149baf116b
Replace all use of POSIX truncate
Use `<filesystem>` instead of `truncate` and remove `truncate`
portability wrapper.

Add a helper function `StatusFromSystemError` to convert error_code to
`Status`.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2026-06-15 15:33:59 +02:00
..
archive Reduces string allocations in paths. 2025-10-05 01:31:27 +02:00
common Reduces string allocations in paths. 2025-10-05 01:31:27 +02:00
disabled_tests Remove VFS cache, because it is less effective and less efficient than the OS cache (and partially redundant with higher level application caches). 2017-12-10 17:33:03 +00:00
io Replace all use of POSIX truncate 2026-06-15 15:33:59 +02:00
vfs Makes loading terrain textures more smooth 2025-10-13 00:14:45 +02:00
file.cpp Fix some includes all over the place 2025-08-14 20:15:30 +02:00
file.h Fix some includes in source/lib 2025-07-25 07:11:21 +02:00
file_system.cpp Use std::filesystem for filesystem abstraction 2026-06-14 21:58:59 +02:00
file_system.h Fix includes in source/lib 2025-08-03 10:15:37 +02:00