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

Function AssertExists

cpp/src/arrow/util/io_util_test.cc:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59namespace internal {
60
61void AssertExists(const PlatformFilename& path) {
62 bool exists = false;
63 ASSERT_OK_AND_ASSIGN(exists, FileExists(path));
64 ASSERT_TRUE(exists) << "Path '" << path.ToString() << "' doesn't exist";
65}
66
67void AssertNotExists(const PlatformFilename& path) {
68 bool exists = true;

Callers 1

TESTFunction · 0.85

Calls 3

ASSERT_OK_AND_ASSIGNFunction · 0.70
FileExistsFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected