refactor(tree,utilities)!: moved find_root and walk to the utilities and removed the Tree struct in favor or the FileInfoBuffer

This commit is contained in:
lisk77 2025-08-27 02:03:05 +02:00
parent 8efadf051c
commit 326a33a3f4
4 changed files with 149 additions and 157 deletions

View file

@ -38,6 +38,8 @@ typedef struct {
List* list_new(size_t);
int list_push(List*, void*);
PathType get_path_type(const char*);
char* find_root(char*);
void walk(char*, char*, char*, PathBuffer*, int, char*);
void visualize_diff(File*, File*, ActionList*);
void cut_path(char* base, char* path);
void combine_path(char* base, char* path);