| 436 | } |
| 437 | |
| 438 | static Status NotDirectoryError(const gcs::ObjectMetadata& o) { |
| 439 | return Status::IOError( |
| 440 | "Cannot create directory, it conflicts with an existing file '", |
| 441 | internal::ConcatAbstractPath(o.bucket(), o.name()), "'"); |
| 442 | } |
| 443 | |
| 444 | Status CreateDirMarkerRecursive(const std::string& bucket, const std::string& name) { |
| 445 | auto get_parent = [](const std::string& path) { |
nothing calls this directly
no test coverage detected