| 112 | bool IsFile() const { return !!(entry.data.mode & Mode_File); } |
| 113 | bool IsDir() const { return !!(entry.data.mode & Mode_Directory); } |
| 114 | bool IsUsed() const { return !!(entry.data.mode & Mode_Used); } |
| 115 | bool IsValid() const { return entry.data.mode != 0xFFFFFFFF; } |
| 116 | // checks if we're either "." or ".." |
| 117 | bool IsDotDir() const { return entry.data.name[0] == '.' && (entry.data.name[1] == '\0' || (entry.data.name[1] == '.' && entry.data.name[2] == '\0')); } |
no outgoing calls
no test coverage detected