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

Method FixInfo

cpp/src/arrow/filesystem/filesystem.cc:343–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343Status SubTreeFileSystem::FixInfo(FileInfo* info) const {
344 ARROW_ASSIGN_OR_RAISE(auto fixed_path, StripBase(info->path()));
345 info->set_path(std::move(fixed_path));
346 return Status::OK();
347}
348
349Result<std::string> SubTreeFileSystem::NormalizePath(std::string path) {
350 ARROW_ASSIGN_OR_RAISE(auto real_path, PrependBase(path));

Callers 1

GetFileInfoGeneratorMethod · 0.95

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected