MCPcopy Create free account
hub / github.com/apache/arrow / MakeScratchDir

Method MakeScratchDir

cpp/src/arrow/io/hdfs_test.cc:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49class TestHadoopFileSystem : public ::testing::Test {
50 public:
51 Status MakeScratchDir() {
52 if (client_->Exists(scratch_dir_)) {
53 RETURN_NOT_OK((client_->Delete(scratch_dir_, true)));
54 }
55 return client_->MakeDirectory(scratch_dir_);
56 }
57
58 Status WriteDummyFile(const std::string& path, const uint8_t* buffer, int64_t size,
59 bool append = false, int buffer_size = 0, int16_t replication = 0,

Callers 1

TEST_FFunction · 0.80

Calls 3

ExistsMethod · 0.45
DeleteMethod · 0.45
MakeDirectoryMethod · 0.45

Tested by

no test coverage detected