Add file and directory creation, mkdir

This commit is contained in:
2026-06-30 20:37:24 +03:00
parent 01cd3f528c
commit 1148596a81
18 changed files with 241 additions and 110 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
#pragma once
#include "src/kernel/stream.h"
#include <stdint.h>
#define FILENAME_SIZE_LIMIT 255
@@ -14,9 +13,9 @@ typedef struct fs_node {
fs_node_t *fs_mount();
fs_node_t *fs_open_by(const fs_node_t *directory, const char *name);
fs_node_t *fs_open_by(const fs_node_t *directory, const char *name, uint64_t flags);
fs_node_t *fs_open_at(const fs_node_t *directory, uint64_t index);
fs_node_t *fs_open_at(const fs_node_t *directory, uint16_t index, uint64_t flags);
fs_node_t *fs_open_again(const fs_node_t *source);