diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-24 04:36:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-24 04:36:43 +0000 |
commit | ab77d16ba47322aab30703e251efbffb680ce0bb (patch) | |
tree | 5d2146c01e938fa6cac7c349192088cb2e962ac5 /lzip_index.h | |
parent | Adding upstream version 1.25~pre1. (diff) | |
download | lziprecover-ab77d16ba47322aab30703e251efbffb680ce0bb.tar.xz lziprecover-ab77d16ba47322aab30703e251efbffb680ce0bb.zip |
Adding upstream version 1.25~rc1.upstream/1.25_rc1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | lzip_index.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lzip_index.h b/lzip_index.h index 9c8bd2b..6cd9233 100644 --- a/lzip_index.h +++ b/lzip_index.h @@ -64,6 +64,14 @@ public: int retval() const { return retval_; } unsigned dictionary_size() const { return dictionary_size_; } + bool multi_empty() const // multimember file with empty member(s) + { + if( member_vector.size() > 1 ) + for( unsigned long i = 0; i < member_vector.size(); ++i ) + if( member_vector[i].dblock.size() == 0 ) return true; + return false; + } + bool operator==( const Lzip_index & li ) const { if( retval_ || li.retval_ || insize != li.insize || |