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

Function ValidateFilePath

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

Source from the content-addressed store, hash-verified

611}
612
613Status ValidateFilePath(const S3Path& path) {
614 if (path.bucket.empty() || path.key.empty()) {
615 return NotAFile(path);
616 }
617 return Status::OK();
618}
619
620std::string FormatRange(int64_t start, int64_t length) {
621 // 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