diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-07-10 12:22:26 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-03-30 22:31:30 +0200 |
commit | 5e54880a2db2aeb7a6c301a69ee2bef9a09a237f (patch) | |
tree | 8eee963268f2db658dba93d075af3a568ade1b48 /tests/libtar/data/user-group-largenum/pax.tar | |
parent | 5df5c115298e8ed9ec977ded60e8019ea39f00b3 (diff) |
Cleanup: table driven pax header parsing
Instead of having a long if-else-if chain, replace the PAX header
field parsing with a table driven approach.
Altough it is more code, it is hopefully more readable, maintainable,
extensible and it dedupliates some of the value parsing code.
The GNU.sparse parsing is left as is, because it requires
maintaining state.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libtar/data/user-group-largenum/pax.tar')
0 files changed, 0 insertions, 0 deletions