mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:37:34 +00:00
LibArchive: Move loading the next tar header into a helper function
This now also validates the first header that is loaded, so we can drop the corresponding FIXME from `tar`.
This commit is contained in:
parent
cbeaba0c12
commit
fd3a823a20
4 changed files with 9 additions and 16 deletions
|
@ -45,6 +45,7 @@ public:
|
|||
|
||||
private:
|
||||
TarInputStream(NonnullOwnPtr<Core::Stream::Stream>);
|
||||
ErrorOr<void> load_next_header();
|
||||
|
||||
TarFileHeader m_header;
|
||||
NonnullOwnPtr<Core::Stream::Stream> m_stream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue