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

Method parent

cpp/src/arrow/filesystem/gcsfs.cc:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 GcsPath parent() const {
90 auto object_parent = internal::GetAbstractPathParent(object).first;
91 if (object_parent.empty()) return GcsPath{bucket, bucket, ""};
92 return GcsPath{internal::ConcatAbstractPath(bucket, object_parent), bucket,
93 object_parent};
94 }
95
96 bool empty() const { return bucket.empty() && object.empty(); }
97

Callers 2

CreateDirMethod · 0.45
CopyFileMethod · 0.45

Calls 3

GetAbstractPathParentFunction · 0.85
ConcatAbstractPathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected