Lines Matching defs:path
51 std::string path = dirPath + "/" + fileName;
52 if (DeleteFile(path.c_str()) != -1) {
55 LOG(ERROR) << "Failed to delete " << path;
59 int32_t Store::CreateNewSpace(const std::string &path, bool needClear)
61 if (path.empty()) {
62 LOG(ERROR) << "path is empty.";
64 std::string dirPath = path + '/';
109 std::string path = pathTmp + fileName;
122 LOG(ERROR) << "Write to stash failed, " << size << " blocks to " << path;
144 std::string path = dirPath;
146 path = path + "/" + fileName;
149 if (stat(path.c_str(), &fileStat) == -1) {
158 int fd = open(path.c_str(), O_RDONLY);