Globally available directories related functions
Used to perform typical operations with it.
|
inline |
Make a directory.
The kodi::vfs::CreateDirectory() function shall create a new directory with name path.
The newly created directory shall be an empty directory.
[in] | path | Path to the directory. |
Example:
|
inline |
Verifying the Existence of a Directory.
The kodi::vfs::DirectoryExists() method determines whether a specified folder exists.
[in] | path | Path to the directory. |
Example:
|
inline |
Removes a directory.
The kodi::vfs::RemoveDirectory() function shall remove a directory whose name is given by path.
[in] | path | Path to the directory. |
[in] | recursive | [opt] Remove directory recursive (default is false) |
Example:
|
inline |
Lists a directory.
Return the list of files and directories which have been found in the specified directory and which respect the given constraint.
It can handle the normal OS dependent paths and also the special virtual filesystem from Kodi what starts with special://.
[in] | path | The path in which the files and directories are located. |
[in] | mask | Mask to filter out requested files, e.g. "*.avi|*.mpg" to files with this ending. |
[out] | items | The returned list directory entries. |
Example: