Searched refs:detailsPath (Results 1 – 3 of 3) sorted by relevance
221 let detailsPath = subCountInfo.details;222 subCountInfo.details = await this.getDetails(type, detailsPath);232 private async getDetails(type: string, detailsPath: string): Promise<null | number> {233 if (detailsPath.length === 0) {237 let file = await fs.open(detailsPath);
443 std::string detailsPath = RESTORE_FAILED_FILES_PATH + "_" + type + ".txt"; in GetDetailsPath() local444 if (MediaFileUtils::IsFileExists(detailsPath) && !MediaFileUtils::DeleteFile(detailsPath)) { in GetDetailsPath()445 MEDIA_ERR_LOG("%{public}s exists and delete failed", detailsPath.c_str()); in GetDetailsPath()451 if (MediaFileUtils::CreateAsset(detailsPath) != E_SUCCESS) { in GetDetailsPath()452 MEDIA_ERR_LOG("Create %{public}s failed", detailsPath.c_str()); in GetDetailsPath()456 if (!MediaFileUtils::WriteStrToFile(detailsPath, failedFilesStr)) { in GetDetailsPath()457 MEDIA_ERR_LOG("Write to %{public}s failed", detailsPath.c_str()); in GetDetailsPath()460 return detailsPath; in GetDetailsPath()
877 std::string detailsPath; in GetSubCountInfoJson() local880 …detailsPath = BackupFileUtils::GetDetailsPath(DEFAULT_RESTORE_ID, type, subCountInfo.failedFiles, … in GetSubCountInfoJson()881 subCountInfoJson[STAT_KEY_DETAILS] = detailsPath; in GetSubCountInfoJson()