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

Method FromString

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

Source from the content-addressed store, hash-verified

603}
604
605Result<PlatformFilename> PlatformFilename::FromString(std::string_view file_name) {
606 RETURN_NOT_OK(ValidatePath(file_name));
607 ARROW_ASSIGN_OR_RAISE(auto ns, StringToNative(file_name));
608 return PlatformFilename(std::move(ns));
609}
610
611PlatformFilename PlatformFilename::Join(const PlatformFilename& child) const {
612 if (impl_->native_.empty() || impl_->native_.back() == kNativeSep) {

Callers

nothing calls this directly

Calls 1

ValidatePathFunction · 0.70

Tested by

no test coverage detected