Virtual filesystem functions
Offers classes and functions for access to the Virtual File Server (VFS) which you can use to manipulate files and folders.
This system allow the use of "Special Protocol" where is Kodi's solution to platform dependent directories. Common directory names are assigned a special://[name]
path which is passed around inside Kodi and then translated to the platform specific path before the operating system sees it. This helps keep most of the platform mess centralized in the code.
To become a correct path back can be TranslateSpecialProtocol() used.
It has the header #include <kodi/Filesystem.h> be included to enjoy it.
Topics | |
Definitions, structures and enumerators | |
Virtual file Server definition values All to VFS system functions associated data structures. | |
1. Directory functions | |
Globally available directories related functions Used to perform typical operations with it. | |
2. File functions | |
Globally available file related functions Used to perform typical operations with it. | |
3. General functions | |
Other globally available functions Used to perform typical operations with it. | |
4. class CFile | |
Creatable class for virtual file server control To perform file read/write with Kodi's filesystem parts. | |