mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
12 lines
336 B
C
12 lines
336 B
C
#ifndef VERIFY_H
|
|
#define VERIFY_H
|
|
|
|
#include "status.h"
|
|
|
|
/* Compare a snapshot with the live tree rooted at root_fs.
|
|
Returns 0 when they match, 1 when differences were found and reported on
|
|
stdout, -1 on a system/IO error, and FSNAP_EPARSE on a malformed snapshot. */
|
|
int verify(const char *snapshot, const char *root_fs);
|
|
|
|
#endif
|