feat: added a simple filesystem tree walk and the status cli command to get a list of untracked files

This commit is contained in:
lisk77 2025-08-20 21:44:04 +02:00
parent 8b862f8b87
commit c372a5f8bc
5 changed files with 174 additions and 7 deletions

View file

@ -14,15 +14,15 @@ typedef enum {
// Represents a deletion or insertion into the files text
typedef struct {
ActionType type;
uint64_t line_original;
uint64_t line_changed;
size_t line_original;
size_t line_changed;
} Action;
// Dynamic array of Actions
typedef struct {
Action* actions;
uint64_t capacity;
uint64_t len;
size_t capacity;
size_t len;
} ActionList;
ActionList* new_list();