Determine if the path represents a directory.
| 420 | |
| 421 | // Determine if the path represents a directory. |
| 422 | bool isDirectory(const std::string& path) |
| 423 | { |
| 424 | VSIStatBufL sStat; |
| 425 | if (VSIStatL(path.c_str(), &sStat) == 0) |
| 426 | { |
| 427 | return VSI_ISDIR(sStat.st_mode); |
| 428 | } |
| 429 | return false; |
| 430 | } |
| 431 | |
| 432 | // Determine if the path is an absolute path |
| 433 | bool isAbsolutePath(const std::string& path) |
no outgoing calls