Lines Matching defs:path
37 bool FileDeal::IsDirExist(std::string path)
40 if ((dp = opendir(path.c_str())) == NULL) {
48 bool FileDeal::Mkdir(const std::string &path)
50 if (!IsDirExist(path)) {
51 if (mkdir(path.c_str(), MODE) != 0) {
61 std::filesystem::path dstPath(newFile);
62 std::filesystem::path srcPath(sourceFile);
117 HILOG_ERROR("get real path fail!");
122 HILOG_ERROR("real path file is not exist! %{public}s", outRealPath.c_str());
126 HILOG_ERROR("illegal file path input %{public}s", inOriPath.c_str());
133 fs::path file(filePath);
147 HILOG_ERROR("get real path file failed!");