fix: features and enhancements — issues #70, #36, #34, #33, #32, #57, #40, #37
CI / lint (pull_request) Failing after 3s
CI / build-and-test (pull_request) Has been skipped
CI / sanitizers (address) (pull_request) Has been skipped
CI / sanitizers (undefined) (pull_request) Has been skipped
CI / fuzz-build (pull_request) Has been skipped
CI / coverage (pull_request) Has been skipped
CI / valgrind (pull_request) Has been skipped

This commit is contained in:
2026-07-20 18:24:17 +02:00
parent 39ab8f8983
commit 27dbdb76d8
14 changed files with 232 additions and 108 deletions
+8
View File
@@ -14,10 +14,18 @@ typedef struct {
long mtime_nsec;
} FileMetadata;
typedef enum {
FILE_TYPE_REGULAR,
FILE_TYPE_SYMLINK,
FILE_TYPE_DIRECTORY
} FileType;
typedef struct {
char* path;
Data* data;
FileMetadata* metadata;
FileType type;
char* link_target;
} File;
File* file_create(const char* path);