11 #include "IDirectory.h" 32 int flags = DIR_FLAG_DEFAULTS;
35 static bool GetDirectory(
const CURL& url
37 ,
const std::string &strMask
40 static bool GetDirectory(
const CURL& url,
41 const std::shared_ptr<IDirectory>& pDirectory,
45 static bool GetDirectory(
const CURL& url
49 static bool Create(
const CURL& url);
50 static bool Exists(
const CURL& url,
bool bUseCache =
true);
51 static bool Remove(
const CURL& url);
52 static bool RemoveRecursive(
const CURL& url);
54 static bool GetDirectory(
const std::string& strPath
56 ,
const std::string &strMask
59 static bool GetDirectory(
const std::string& strPath,
60 const std::shared_ptr<IDirectory>& pDirectory,
62 const std::string& strMask,
65 static bool GetDirectory(
const std::string& strPath
69 static bool Create(
const std::string& strPath);
70 static bool Exists(
const std::string& strPath,
bool bUseCache =
true);
71 static bool Remove(
const std::string& strPath);
72 static bool RemoveRecursive(
const std::string& strPath);
80 bool expandImages=
false);
static void FilterFileDirectories(CFileItemList &items, const std::string &mask, bool expandImages=false)
Filter files that act like directories from the list, replacing them with their directory counterpart...
Definition: Directory.cpp:426
Represents a list of files.
Definition: FileItem.h:721
Wrappers for IDirectory.
Definition: Directory.h:22
Definition: Directory.h:28