Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ModuleXbmcvfs.h File Reference
#include "AddonString.h"
#include "Tuple.h"
#include <vector>

Functions

 copy (...)
 

Function: xbmcvfs.copy(source, destination)


Copy file to destination, returns true/false.
 
 delete (...)
 

Function: xbmcvfs.delete(file)


Delete a file
 
 rename (...)
 

Function: xbmcvfs.rename(file, newFileName)


Rename a file
 
 exists (...)
 

Function: xbmcvfs.exists(path)


Check for a file or folder existence
 
 makeLegalFilename (...)
 

Function: xbmcvfs.makeLegalFilename(filename)


Returns a legal filename or path as a string.
 
 translatePath (...)
 

Function: xbmcvfs.translatePath(path)


Returns the translated path.
 
 validatePath (...)
 

Function: xbmcvfs.validatePath(path)


Returns the validated path.
 
 mkdir (...)
 

Function: xbmcvfs.mkdir(path)


Create a folder.
 
 mkdirs (...)
 

Function: xbmcvfs.mkdirs(path)


Make all directories along the path
 
 rmdir (...)
 

Function: xbmcvfs.rmdir(path, [force])


Remove a folder.
 
 listdir (...)
 

Function: xbmcvfs.listdir(path)


Lists content of a folder.