diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:07:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:08:24 +0000 |
commit | 2a00d366f34bfdfa7e5a3019b4753bc94a80748d (patch) | |
tree | fad13d976fa52e336b4bb0b85eff6de1350c9906 /exclude.cc | |
parent | Releasing debian version 0.17-1. (diff) | |
download | tarlz-2a00d366f34bfdfa7e5a3019b4753bc94a80748d.tar.xz tarlz-2a00d366f34bfdfa7e5a3019b4753bc94a80748d.zip |
Merging upstream version 0.19.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'exclude.cc')
-rw-r--r-- | exclude.cc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* Tarlz - Archiver with multimember lzip compression - Copyright (C) 2013-2020 Antonio Diaz Diaz. + Copyright (C) 2013-2021 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ #include <string> #include <vector> #include <fnmatch.h> -#include <pthread.h> +#include <pthread.h> // for tarlz.h #include <stdint.h> #include "tarlz.h" @@ -39,6 +39,8 @@ std::vector< std::string > patterns; // list of patterns void Exclude::add_pattern( const std::string & arg ) { patterns.push_back( arg ); } +void Exclude::clear() { patterns.clear(); } + bool Exclude::excluded( const char * const filename ) { |