* Returns if the provided file in 'pathname' exists or not */
| 252 | * Returns if the provided file in 'pathname' exists or not |
| 253 | */ |
| 254 | bool |
| 255 | BaseLogFile::exists(const char *pathname) |
| 256 | { |
| 257 | ink_assert(pathname != nullptr); |
| 258 | return (pathname && ::access(pathname, F_OK) == 0); |
| 259 | } |
| 260 | |
| 261 | /* |
| 262 | * Opens the BaseLogFile and associated BaseMetaInfo on disk if it exists |
no outgoing calls
no test coverage detected