mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
driver/file.h: add isDir()
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
#endif /* __USE_FILE__OFFSET64 */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -74,6 +74,7 @@ public:
|
||||
FileType getType(void) const;
|
||||
std::string getFileName(void) const;
|
||||
std::string getPath(void) const;
|
||||
bool isDir(void) { return S_ISDIR(Mode); };
|
||||
|
||||
CFile();
|
||||
off_t Size;
|
||||
|
Reference in New Issue
Block a user