aboutsummaryrefslogtreecommitdiff
path: root/tensorflow/core/platform/file_system.cc
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2024-03-06 09:29:57 -0800
committerXin Li <delphij@google.com>2024-03-06 09:29:57 -0800
commit4a324d1ee4441fd6c74355dfd28847e9cafef05e (patch)
tree3e462ec4ec6a5a30d6d3456c00e4872193bebbfa /tensorflow/core/platform/file_system.cc
parentcdb67b5cedfde376be51637c24df35818bab4839 (diff)
parente1524bac23a70bd9df1126a449db93b0104b5ff6 (diff)
downloadtensorflow-master.tar.gz
Merge Android 14 QPR2 to AOSP mainHEADmastermain
Bug: 319669529 Merged-In: Ia9088f0f663dc8d4458f0c5d6996e43b77bf84cd Change-Id: Iac78fd3ee1ba1201b35d0705f6b360bda60f0156
Diffstat (limited to 'tensorflow/core/platform/file_system.cc')
-rw-r--r--tensorflow/core/platform/file_system.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/core/platform/file_system.cc b/tensorflow/core/platform/file_system.cc
index e170b091985..5847e76bfc7 100644
--- a/tensorflow/core/platform/file_system.cc
+++ b/tensorflow/core/platform/file_system.cc
@@ -87,6 +87,12 @@ Status FileSystem::HasAtomicMove(const string& path, bool* has_atomic_move) {
return OkStatus();
}
+Status FileSystem::CanCreateTempFile(const std::string& fname,
+ bool* can_create_temp_file) {
+ *can_create_temp_file = true;
+ return OkStatus();
+}
+
void FileSystem::FlushCaches(TransactionToken* token) {}
bool FileSystem::FilesExist(const std::vector<string>& files,