Adds a new "dup" command to find duplicates.

This commit is contained in:
Andrea Mazzoleni 2011-12-08 20:37:27 +01:00
parent 8585485868
commit cec7b2f2b4
10 changed files with 193 additions and 22 deletions

View file

@ -94,10 +94,15 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
void state_check(struct snapraid_state* state, int fix, block_off_t blockstart, block_off_t blockcount);
/**
* Read the files.
* Dry the files.
*/
void state_dry(struct snapraid_state* state, block_off_t blockstart, block_off_t blockcount);
/**
* Find duplicates.
*/
void state_dup(struct snapraid_state* state);
/**
* Filter files.
*/