Top | ![]() |
![]() |
![]() |
![]() |
enum | InfdFilesystemStorageError |
struct | InfdFilesystemStorage |
struct | InfdFilesystemStorageClass |
InfdFilesystemStorage *
infd_filesystem_storage_new (const gchar *root_directory
);
Creates a new InfdFilesystemStorage that stores its nodes in the given directory on the file system. The directory is created if it does not exist.
FILE * infd_filesystem_storage_open (InfdFilesystemStorage *storage
,const gchar *identifier
,const gchar *path
,const gchar *mode
,GError **error
);
Opens a file in the given path within the storage's root directory. If
the file exists already, and mode
is set to "w", the file is overwritten.