mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
Add CRC-32 fingerprinting of symlink targets
Hash the followed target content with CRC-32 (hash.c/hash.h) and emit a FINGERPRINT field for non-directory records in create.c. Schema: TYPE|MODE|UID|GID|MTIME|SIZE|FINGERPRINT|TARGET per SPEC §17/§18.
This commit is contained in:
@@ -8,6 +8,8 @@ enum Fields {
|
||||
GID,
|
||||
SIZE,
|
||||
TIME,
|
||||
TARGET,
|
||||
FINGERPRINT,
|
||||
PATH,
|
||||
NONE,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user