| 233 | int CopyDir(const string &src_dir_path, const string &dst_dir_path) { |
| 234 | // struct required, rationale: function stat() exists also |
| 235 | struct stat src_stat; |
| 236 | if (-1 == stat(src_dir_path.c_str(), &src_stat)) { |
| 237 | int ret{errno}; |
| 238 | // TODO: |