| 202 | bool is_symlink() const { return (mode & S_IFMT) == S_IFLNK; } |
| 203 | bool is_dir() const { return (mode & S_IFMT) == S_IFDIR; } |
| 204 | bool is_file() const { return (mode & S_IFMT) == S_IFREG; } |
| 205 | |
| 206 | // use i_flags as 1 << 14 will overlap with other mode bits. |
| 207 | bool is_encrypted() const { return (i_flags & S_ENCRYPTED) == S_ENCRYPTED; } |
no outgoing calls