refactor(object, utilities): moved diff saving and reading to the object files

This commit is contained in:
lisk77 2025-09-19 19:22:40 +02:00
parent 13e3ba70b2
commit 4b2575ab96
4 changed files with 378 additions and 402 deletions

View file

@ -24,9 +24,12 @@
#include "hash.h"
#include "file.h"
#include "tree.h"
#include "utilities.h"
#include "common.h"
char* get_object(char*, size_t*);
void* parse_object(char*, ObjectType, size_t*);
int save_diff(ActionList*, char*, char*, size_t, char*, File*, int);
int read_diff(char*, char*, ActionList*);
int save_file_diff(char*, char*, size_t, char*, Changes*);
#endif // OBJECT_H