mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -05:00
Adds a the new -e, --filter-error option for fix and check.
This commit is contained in:
parent
746c829bec
commit
746901d0be
6 changed files with 75 additions and 12 deletions
6
elem.h
6
elem.h
|
|
@ -363,6 +363,12 @@ int filter_path(tommy_list* filterlist, const char* disk, const char* sub);
|
|||
*/
|
||||
int filter_existence(int filter_missing, const char* dir, const char* sub);
|
||||
|
||||
/**
|
||||
* Filter a file if bad.
|
||||
* Return !=0 if the file is correct and it should be excluded.
|
||||
*/
|
||||
int filter_correctness(int filter_error, tommy_arrayof* infoarr, struct snapraid_file* file);
|
||||
|
||||
/**
|
||||
* Filters a dir using a list of filters.
|
||||
* For each element of the path all the filters are applied, until the first one that matches.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue