1 #ifndef __LIBCPROJECT_FILESYSTEM__
2 #define __LIBCPROJECT_FILESYSTEM__
int filesystem_read(string_t path, byte_t **file_content, size_t *file_size)
Read the content of a file.
string_t filesystem_get_mimetype(string_t path)
Get the mimetype of a file based on its extension.
int filesystem_remove(string_t path)
Removes a path.
bool filesystem_exists(string_t path)
Check if a path exists.
int filesystem_write(string_t path, byte_t *file_content, size_t file_size)
Write the content to a file.