mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Change "diff" to return an error if a "sync" is required
This commit is contained in:
parent
7e06c8eefa
commit
83d967e2c0
11 changed files with 104 additions and 16 deletions
|
|
@ -191,10 +191,15 @@ void state_read(struct snapraid_state* state);
|
|||
*/
|
||||
void state_write(struct snapraid_state* state);
|
||||
|
||||
/**
|
||||
* Diff all the disks.
|
||||
*/
|
||||
int state_diff(struct snapraid_state* state);
|
||||
|
||||
/**
|
||||
* Scans all the disks to update the state.
|
||||
*/
|
||||
void state_scan(struct snapraid_state* state, int is_diff);
|
||||
void state_scan(struct snapraid_state* state);
|
||||
|
||||
/**
|
||||
* Sets the nanosecond timestamp of all files that have a zero value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue