feat(file): changed the mode type from uint32_t to the proper mode_t

This commit is contained in:
lisk77 2025-08-28 16:58:57 +02:00
parent 1606f479db
commit 37a696bd38

View file

@ -5,6 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <sys/stat.h>
typedef struct { typedef struct {
char** content; char** content;
@ -12,7 +13,7 @@ typedef struct {
} File; } File;
typedef struct { typedef struct {
uint32_t mode; mode_t mode;
char* name; char* name;
} FileInfo; } FileInfo;