io::JoinPath() doesn't work in cases when we want an empty subpath to result in an appended slash in order for directory markers to be processed correctly: "gs://a/b" + "" should give "gs://a/b/".
| 192 | // to result in an appended slash in order for directory markers |
| 193 | // to be processed correctly: "gs://a/b" + "" should give "gs://a/b/". |
| 194 | string JoinGcsPath(const string& path, const string& subpath) { |
| 195 | return strings::StrCat(MaybeAppendSlash(path), subpath); |
| 196 | } |
| 197 | |
| 198 | /// \brief Returns the given paths appending all their subfolders. |
| 199 | /// |
no test coverage detected