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

Method ToString

cpp/src/arrow/util/io_util.cc:582–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580const NativePathString& PlatformFilename::ToNative() const { return impl_->native_; }
581
582std::string PlatformFilename::ToString() const {
583#if _WIN32
584 auto result = NativeToString(impl_->generic());
585 if (!result.ok()) {
586 std::stringstream ss;
587 ss << "<Unrepresentable filename: " << result.status().ToString() << ">";
588 return ss.str();
589 }
590 return *std::move(result);
591#else
592 return impl_->generic();
593#endif
594}
595
596PlatformFilename PlatformFilename::Parent() const {
597 return PlatformFilename(NativeParent(ToNative()));

Callers 15

DoCreateDirFunction · 0.45
ListDirInternalFunction · 0.45
FindOneFileFunction · 0.45
ListDirFunction · 0.45
DeleteDirEntryDirFunction · 0.45
DeleteDirEntryFunction · 0.45
LinkStatFunction · 0.45
DeleteDirContentsFunction · 0.45
DeleteFileFunction · 0.45
FileExistsFunction · 0.45
FileOpenReadableFunction · 0.45
FileOpenWritableFunction · 0.45

Calls 5

genericMethod · 0.80
strMethod · 0.80
NativeToStringFunction · 0.70
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected