mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibArchive: Pass along errors from Tar header checksum validation
This commit is contained in:
parent
fd3a823a20
commit
cb48b9bc30
Notes:
sideshowbarker
2024-07-17 03:56:10 +09:00
Author: https://github.com/timschumi
Commit: cb48b9bc30
Pull-request: https://github.com/SerenityOS/serenity/pull/16241
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/sin-ack ✅
Reviewed-by: https://github.com/trflynn89
2 changed files with 5 additions and 8 deletions
|
@ -36,7 +36,7 @@ public:
|
|||
static ErrorOr<NonnullOwnPtr<TarInputStream>> construct(NonnullOwnPtr<Core::Stream::Stream>);
|
||||
ErrorOr<void> advance();
|
||||
bool finished() const { return m_stream->is_eof(); }
|
||||
bool valid() const;
|
||||
ErrorOr<bool> valid() const;
|
||||
TarFileHeader const& header() const { return m_header; }
|
||||
TarFileStream file_contents();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue