| 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 |
no test coverage detected