![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
Classes | |
class | CDirEntry |
class | CFile |
Functions | |
bool | CreateDirectory (const std::string &path) |
Make a directory. More... | |
bool | DirectoryExists (const std::string &path) |
Verifying the Existence of a Directory. More... | |
bool | RemoveDirectory (const std::string &path) |
Removes a directory. More... | |
bool | GetDirectory (const std::string &path, const std::string &mask, std::vector< CDirEntry > &items) |
Lists a directory. More... | |
std::string | GetFileMD5 (const std::string &path) |
Retrieve MD5sum of a file. More... | |
std::string | GetCacheThumbName (const std::string &filename) |
Returns a thumb cache filename. More... | |
std::string | MakeLegalFileName (const std::string &filename) |
Make filename valid. More... | |
std::string | MakeLegalPath (const std::string &path) |
Make directory name valid. More... | |
std::string | TranslateSpecialProtocol (const std::string &source) |
Returns the translated path. More... | |
std::string | GetFileName (const std::string &path) |
Return the file name from given complate path string. More... | |
std::string | GetDirectoryName (const std::string &path) |
Return the directory name from given complate path string. More... | |
void | RemoveSlashAtEnd (std::string &path) |
Remove the slash on given path name. More... | |
unsigned int | GetChunkSize (unsigned int chunk, unsigned int minimum) |
Return a size aligned to the chunk size at least as large as the chunk size. More... | |
bool | FileExists (const std::string &filename, bool usecache=false) |
Check if a file exists. More... | |
bool | StatFile (const std::string &filename, STAT_STRUCTURE &buffer) |
Get file status. More... | |
bool | DeleteFile (const std::string &filename) |
Deletes a file. More... | |
bool | RenameFile (const std::string &filename, const std::string &newFileName) |
Rename a file name. More... | |
bool | CopyFile (const std::string &filename, const std::string &destination) |
Copy a file from source to destination. More... | |