39 #define FS_CHECK_PATH(path) isRootPath(path); 44 #define GET_FILEDIR() \ 46 if(dir == nullptr) { \ 47 return Error::InvalidHandle; \ 49 auto d = reinterpret_cast<FileDir*>(dir); void checkStat(Stat &stat)
bool isRootPath(const char *&path)
Check if path is root directory.
Definition: DirectoryTemplate.h:36