Virtual filesystem and ramdiskfs
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s

This commit is contained in:
2026-02-11 21:36:50 +01:00
parent 9e6035bd68
commit 4ad1519e06
21 changed files with 528 additions and 128 deletions

13
kernel/fs/path.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _KERNEL_FS_PATH_H
#define _KERNEL_FS_PATH_H
#include <libk/std.h>
/* Path scheme: MOUNTPOINT:/path/to/file.txt */
bool path_validate_char (char ch);
bool path_validate (const char* path);
bool path_parse (const char* source, char* mountpoint, const char** path);
const char* path_basename (const char* path);
#endif // _KERNEL_FS_PATH_H