Turnstone Operating System
Loading...
Searching...
No Matches
fs.64.c File Reference

Filesystem and path implementation. More...

#include <fs.h>
#include <memory.h>
#include <strings.h>

Classes

struct  path_context_t
 
struct  empty_path_context_t
 

Typedefs

typedef struct path_context_t path_context_t
 
typedef struct empty_path_context_t empty_path_context_t
 

Functions

 MODULE ("turnstone.kernel.hw.disk.fs")
 
char_tfs_path_get_fullpath (const path_t *self)
 
char_tfs_path_get_name (const path_t *self)
 
char_tfs_path_get_extension (const path_t *self)
 
char_tfs_path_get_name_and_ext (const path_t *self)
 
path_tfs_path_get_basepath (const path_t *self)
 
int8_t fs_path_is_root (const path_t *self)
 
int8_t fs_path_is_directory (const path_t *self)
 
int8_t fs_path_close (const path_t *self)
 
path_tfs_path_append (const path_t *self, const path_t *child)
 
directory_tfs_create_or_open_directory (filesystem_t *self, const path_t *p)
 
file_tfs_create_or_open_file (filesystem_t *self, const path_t *p)
 
const path_tfs_epi_get_path (const path_interface_t *self)
 
fs_stat_type_t fs_epi_get_type (const path_interface_t *self)
 
int8_t fs_epi_close (const path_interface_t *self)
 
path_tfilesystem_new_path (filesystem_t *fs, const char_t *path_string)
 
path_interface_tfilesystem_empty_path_interface (filesystem_t *fs, path_t *p, fs_stat_type_t type)
 

Detailed Description

Filesystem and path implementation.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.