|
static bool | CheckFileAccessAllowed (const std::string &filePath) |
|
static bool | DeleteItem (const std::shared_ptr< CFileItem > &item) |
|
static bool | DeleteItem (const std::string &strPath) |
|
static bool | Exists (const std::string &strFileName, bool bUseCache=true) |
|
static bool | RenameFile (const std::string &strFile) |
|
static bool | RemoteAccessAllowed (const std::string &strPath) |
|
static unsigned int | LoadFile (const std::string &filename, void *&outputBuffer) |
|
static CDateTime | GetModificationDate (const std::string &strFileNameAndPath, const bool &bUseLatestDate) |
| Get the modified date of a file if its invalid it returns the creation date - this behavior changes when you set bUseLatestDate. More...
|
|
static CDateTime | GetModificationDate (const int &code, const std::string &strFileNameAndPath) |
|
◆ GetModificationDate()
CDateTime CFileUtils::GetModificationDate |
( |
const std::string & |
strFileNameAndPath, |
|
|
const bool & |
bUseLatestDate |
|
) |
| |
|
static |
Get the modified date of a file if its invalid it returns the creation date - this behavior changes when you set bUseLatestDate.
- Parameters
-
strFileNameAndPath | path to the file |
bUseLatestDate | use the newer datetime of the files mtime and ctime |
- Returns
- Returns the file date, can return a invalid date if problems occur
◆ RemoteAccessAllowed()
bool CFileUtils::RemoteAccessAllowed |
( |
const std::string & |
strPath | ) |
|
|
static |
- Todo:
- Make sharing of auto-mounted sources user configurable
The documentation for this class was generated from the following files: