Add mkdir to the FS API

This commit is contained in:
Sergey Lyubka committed 2022-01-18 19:19:34 +00:00
1 parent 56a7438114
commit d0857fe36c
8 files changed
+73 -54

No files matched your search

+8 -3
View File
@@ -103,6 +103,11 @@ static bool packed_remove(const char *path) {
return false;
}
struct mg_fs mg_fs_packed = {packed_stat, packed_list, packed_open,
packed_close, packed_read, packed_write,
packed_seek, packed_rename, packed_remove};
static bool packed_mkdir(const char *path) {
(void) path;
return false;
}
struct mg_fs mg_fs_packed = {
packed_stat, packed_list, packed_open, packed_close, packed_read,
packed_write, packed_seek, packed_rename, packed_remove, packed_mkdir};