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

Method AssertAfterMove

cpp/src/arrow/filesystem/azurefs_test.cc:1927–1932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1925 }
1926
1927 void AssertAfterMove(const std::string& src, const std::string& dest, FileType type) {
1928 if (internal::RemoveTrailingSlash(src) != internal::RemoveTrailingSlash(dest)) {
1929 AssertFileInfo(fs(), src, FileType::NotFound);
1930 }
1931 AssertFileInfo(fs(), dest, type);
1932 }
1933
1934 std::optional<StringMatcher> MoveErrorMessageMatcher(const FileInfo& src_info,
1935 const std::string& src,

Callers

nothing calls this directly

Calls 3

AssertFileInfoFunction · 0.85
fsFunction · 0.85
RemoveTrailingSlashFunction · 0.70

Tested by

no test coverage detected