mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
Fix naming inconsistencies: header guard, FieldName prefix, Operation typedef
This commit is contained in:
@@ -20,7 +20,7 @@ static const char *field_names[] = {
|
||||
"file type", "permissions", "uid", "gid", "size",
|
||||
"time", "target", "fingerprint", "path", "none"};
|
||||
|
||||
const char *FieldName(enum Fields f) {
|
||||
const char *RecordObjectFieldName(enum Fields f) {
|
||||
return (f <= NONE) ? field_names[f] : "unknown";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user