Files
fsnap/include/verify.h

13 lines
417 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, FSNAP_WARNINGS (2) if traversal was incomplete but no differences
were found, -1 on a system/IO error, and FSNAP_EPARSE on a malformed snapshot. */
int verify(const char *snapshot, const char *root_fs);
#endif