A VFS entity is an object representing a single file or directory on disk. Each VFS entity is handled by some kind of VFS module. By default, a VFS entity only contains the filename and a reference count. It must be manually populated to get its actual contents. More...
#include <vfs.h>

Data Fields | |
| char * | name |
| The name of the current object (the basename). | |
| char * | filename |
| The complete filename of the object (realpath). | |
| int | refcount |
| The reference count of the current object, used to determine whether it should be deallocated. | |
| struct vfsmodule * | vmod |
| The VFS module responsible for handling the entity. | |
| struct vfslist | population |
| References to its children. | |
| int | recurse |
| Whether or not we should recurse down this object. | |
A VFS entity is an object representing a single file or directory on disk. Each VFS entity is handled by some kind of VFS module. By default, a VFS entity only contains the filename and a reference count. It must be manually populated to get its actual contents.
Definition at line 99 of file vfs.h.
1.6.3