@@ -39,70 +39,72 @@ class NullFileSystem : public FileSystem {
3939 TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT;
4040
4141 absl::Status NewRandomAccessFile (
42- const string& fname, TransactionToken* token,
42+ const std:: string& fname, TransactionToken* token,
4343 std::unique_ptr<RandomAccessFile>* result) override {
4444 return errors::Unimplemented (" NewRandomAccessFile unimplemented" );
4545 }
4646
47- absl::Status NewWritableFile (const string& fname, TransactionToken* token,
47+ absl::Status NewWritableFile (const std::string& fname,
48+ TransactionToken* token,
4849 std::unique_ptr<WritableFile>* result) override {
4950 return errors::Unimplemented (" NewWritableFile unimplemented" );
5051 }
5152
5253 absl::Status NewAppendableFile (
53- const string& fname, TransactionToken* token,
54+ const std:: string& fname, TransactionToken* token,
5455 std::unique_ptr<WritableFile>* result) override {
5556 return errors::Unimplemented (" NewAppendableFile unimplemented" );
5657 }
5758
5859 absl::Status NewReadOnlyMemoryRegionFromFile (
59- const string& fname, TransactionToken* token,
60+ const std:: string& fname, TransactionToken* token,
6061 std::unique_ptr<ReadOnlyMemoryRegion>* result) override {
6162 return errors::Unimplemented (
6263 " NewReadOnlyMemoryRegionFromFile unimplemented" );
6364 }
6465
65- absl::Status FileExists (const string& fname,
66+ absl::Status FileExists (const std:: string& fname,
6667 TransactionToken* token) override {
6768 return errors::Unimplemented (" FileExists unimplemented" );
6869 }
6970
70- absl::Status GetChildren (const string& dir, TransactionToken* token,
71- std::vector<string>* result) override {
71+ absl::Status GetChildren (const std:: string& dir, TransactionToken* token,
72+ std::vector<std:: string>* result) override {
7273 return errors::Unimplemented (" GetChildren unimplemented" );
7374 }
7475
75- absl::Status GetMatchingPaths (const string& pattern, TransactionToken* token,
76- std::vector<string>* results) override {
76+ absl::Status GetMatchingPaths (const std::string& pattern,
77+ TransactionToken* token,
78+ std::vector<std::string>* results) override {
7779 return internal::GetMatchingPaths (this , Env::Default (), pattern, results);
7880 }
7981
80- absl::Status DeleteFile (const string& fname,
82+ absl::Status DeleteFile (const std:: string& fname,
8183 TransactionToken* token) override {
8284 return errors::Unimplemented (" DeleteFile unimplemented" );
8385 }
8486
85- absl::Status CreateDir (const string& dirname,
87+ absl::Status CreateDir (const std:: string& dirname,
8688 TransactionToken* token) override {
8789 return errors::Unimplemented (" CreateDir unimplemented" );
8890 }
8991
90- absl::Status DeleteDir (const string& dirname,
92+ absl::Status DeleteDir (const std:: string& dirname,
9193 TransactionToken* token) override {
9294 return errors::Unimplemented (" DeleteDir unimplemented" );
9395 }
9496
95- absl::Status GetFileSize (const string& fname, TransactionToken* token,
97+ absl::Status GetFileSize (const std:: string& fname, TransactionToken* token,
9698 uint64* file_size) override {
9799 return errors::Unimplemented (" GetFileSize unimplemented" );
98100 }
99101
100- absl::Status RenameFile (const string& src, const string& target,
102+ absl::Status RenameFile (const std:: string& src, const std:: string& target,
101103 TransactionToken* token) override {
102104 return errors::Unimplemented (" RenameFile unimplemented" );
103105 }
104106
105- absl::Status Stat (const string& fname, TransactionToken* token,
107+ absl::Status Stat (const std:: string& fname, TransactionToken* token,
106108 FileStatistics* stat) override {
107109 return errors::Unimplemented (" Stat unimplemented" );
108110 }
0 commit comments