| 551 | } |
| 552 | |
| 553 | Status ValidateFilePath(const S3Path& path) { |
| 554 | if (path.bucket.empty() || path.key.empty()) { |
| 555 | return NotAFile(path); |
| 556 | } |
| 557 | return Status::OK(); |
| 558 | } |
| 559 | |
| 560 | std::string FormatRange(int64_t start, int64_t length) { |
| 561 | // Format a HTTP range header value |
no test coverage detected