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

Method NormalizeBasePath

cpp/src/arrow/filesystem/filesystem.cc:297–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295SubTreeFileSystem::~SubTreeFileSystem() = default;
296
297Result<std::string> SubTreeFileSystem::NormalizeBasePath(
298 std::string base_path, const std::shared_ptr<FileSystem>& base_fs) {
299 ARROW_ASSIGN_OR_RAISE(base_path, base_fs->NormalizePath(std::move(base_path)));
300 return EnsureTrailingSlash(std::move(base_path));
301}
302
303bool SubTreeFileSystem::Equals(const FileSystem& other) const {
304 if (this == &other) {

Callers

nothing calls this directly

Calls 3

EnsureTrailingSlashFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.50
NormalizePathMethod · 0.45

Tested by

no test coverage detected