1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibArchive
Lenny Maiorani 583e197897 LibArchive: Refactor Tar to make DRY (Don't Repeat Yourself)
Problem:
- The getters and setters duplicate code for conversions.
- Getters are returning `const StringView` rather than non-`const`.

Solution:
- Factor out common code to helper functions.
- Return `StringView` as non-`const`.
2022-02-15 23:00:19 +02:00
..
CMakeLists.txt LibArchive: Move method implementations away from header 2021-05-17 18:14:05 +01:00
Tar.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
Tar.h LibArchive: Refactor Tar to make DRY (Don't Repeat Yourself) 2022-02-15 23:00:19 +02:00
TarStream.cpp LibArchive: Refactor Tar to make DRY (Don't Repeat Yourself) 2022-02-15 23:00:19 +02:00
TarStream.h Everywhere: Pass AK::ReadonlyBytes by value 2021-11-11 01:27:46 +01:00
Zip.cpp Everywhere: Pass AK::ReadonlyBytes by value 2021-11-11 01:27:46 +01:00
Zip.h Everywhere: Pass AK::ReadonlyBytes by value 2021-11-11 01:27:46 +01:00