Util.h File Reference
#include "Stat.h"
Include dependency graph for Util.h:
Go to the source code of this file.
Namespaces | |
| IFS | |
Macros | |
| #define | FS_CHECK_PATH(path) isRootPath(path); |
| #define | GET_FILEDIR() |
Functions | |
| bool | IFS::isRootPath (const char *&path) |
| Check if path is root directory. More... | |
| void | IFS::checkStat (Stat &stat) |
Macro Definition Documentation
◆ FS_CHECK_PATH
| #define FS_CHECK_PATH | ( | path | ) | isRootPath(path); |
◆ GET_FILEDIR
| #define GET_FILEDIR | ( | ) |
Value:
CHECK_MOUNTED() \
if(dir == nullptr) { \
return Error::InvalidHandle; \
} \
auto d = reinterpret_cast<FileDir*>(dir);
1.8.13