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

Function ValidateFilePath

cpp/src/arrow/filesystem/s3fs.cc:553–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

OpenInputFileMethod · 0.85
DeleteFileMethod · 0.85
MoveMethod · 0.85
CopyFileMethod · 0.85
OpenOutputStreamMethod · 0.85

Calls 3

NotAFileFunction · 0.70
OKFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected