| 112 | } |
| 113 | |
| 114 | bool StdExplorer::IsDirectory(const std::string &path) { |
| 115 | const auto full_path = this->MakeFull(path); |
| 116 | |
| 117 | struct stat st; |
| 118 | return (stat(full_path.c_str(), &st) == 0) && (st.st_mode & S_IFDIR); |
| 119 | } |
| 120 | |
| 121 | void StdExplorer::CreateFile(const std::string &path) { |
| 122 | const auto full_path = this->MakeFull(path); |
no test coverage detected