J
jacob navia
Hi
Within the context of the containers library I would like to be able to
represent a file system, i.e. directories and files within a tree
structure.
Has this problem been solved in a public available way?
Are there any known implementations?
For instance:
typedef struct tagFile{
char *Name;
size_t size;
FileTime last_save;
} file;
typedef struct tagDirectory {
char *Name;
size_t NumberOfChildren;
struct tagDirectory **Subdirs;
size_t NumberOfFiles;
file **Files;
}Directory;
This is of course incomplete. Are there any available
implementations of such a data structure?
Within the context of the containers library I would like to be able to
represent a file system, i.e. directories and files within a tree
structure.
Has this problem been solved in a public available way?
Are there any known implementations?
For instance:
typedef struct tagFile{
char *Name;
size_t size;
FileTime last_save;
} file;
typedef struct tagDirectory {
char *Name;
size_t NumberOfChildren;
struct tagDirectory **Subdirs;
size_t NumberOfFiles;
file **Files;
}Directory;
This is of course incomplete. Are there any available
implementations of such a data structure?