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

Method Equals

python/pyarrow/src/arrow/python/filesystem.cc:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool PyFileSystem::Equals(const FileSystem& other) const {
55 bool result;
56 auto st = SafeCallIntoPython([&]() -> Status {
57 result = vtable_.equals(handler_.obj(), other);
58 if (PyErr_Occurred()) {
59 PyErr_WriteUnraisable(handler_.obj());
60 }
61 return Status::OK();
62 });
63 ARROW_UNUSED(st);
64 return result;
65}
66
67Result<FileInfo> PyFileSystem::GetFileInfo(const std::string& path) {
68 FileInfo info;

Callers 7

CallTabularFunctionFunction · 0.45
ConvertDataMethod · 0.45
ConvertMethod · 0.45
InitMethod · 0.45

Calls 3

SafeCallIntoPythonFunction · 0.85
equalsMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected