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

@ -25,7 +25,7 @@ void add_action(ActionList* list, Action action) {
// Concatenate two ActionLists. Modifies list1 in place
void append_list(ActionList* list1, ActionList* list2) {
uint64_t available_space = list1->capacity - list1->len;
size_t available_space = list1->capacity - list1->len;
if (available_space < list2->len) {
list1->capacity += list2->capacity;
list1->actions = realloc(list1->actions, list1->capacity*sizeof(Action));