* @brief Checks if the file is a regular file. * * @return true if the file is a regular file, false otherwise. */
| 268 | * @return true if the file is a regular file, false otherwise. |
| 269 | */ |
| 270 | inline bool isFile() |
| 271 | { |
| 272 | auto s = info(); |
| 273 | return _error == 0 && S_ISREG(s.st_mode); |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * @brief Reads the contents of the file into a string. |
nothing calls this directly
no outgoing calls
no test coverage detected