internal change

PiperOrigin-RevId: 634077236
This commit is contained in:
Anay Wadhera
2024-05-15 14:31:46 -07:00
committed by Copybara-Service
parent 00e8286021
commit fcc08df58b
2 changed files with 2 additions and 6 deletions
@@ -160,7 +160,6 @@ cc_library(
":comm",
":crypto", # build_cleaner: keep
":types",
"//file/base:path",
"//internal/platform:test_util",
"//internal/platform/implementation:comm",
"//internal/platform/implementation:platform",
@@ -19,7 +19,6 @@
#include <memory>
#include <string>
#include "file/base/path.h"
#include "absl/memory/memory.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_cat.h"
@@ -70,14 +69,12 @@ namespace api {
std::string ImplementationPlatform::GetCustomSavePath(
const std::string& parent_folder, const std::string& file_name) {
return file::JoinPath(parent_folder, file_name);
return absl::StrCat(parent_folder, file_name);
}
std::string ImplementationPlatform::GetDownloadPath(
const std::string& parent_folder, const std::string& file_name) {
std::string fullPath("/tmp");
return file::JoinPath("/tmp", file_name);
return absl::StrCat("/tmp/", file_name);
}
OSName ImplementationPlatform::GetCurrentOS() { return OSName::kLinux; }