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

Method GetFileInfo

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

Source from the content-addressed store, hash-verified

65}
66
67Result<FileInfo> PyFileSystem::GetFileInfo(const std::string& path) {
68 FileInfo info;
69
70 auto st = SafeCallIntoPython([&]() -> Status {
71 vtable_.get_file_info(handler_.obj(), path, &info);
72 return CheckPyError();
73 });
74 RETURN_NOT_OK(st);
75 return info;
76}
77
78Result<std::vector<FileInfo>> PyFileSystem::GetFileInfo(
79 const std::vector<std::string>& paths) {

Callers

nothing calls this directly

Calls 4

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
get_file_infoMethod · 0.45

Tested by

no test coverage detected