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

Function ValidateFileLocation

cpp/src/arrow/filesystem/azurefs.cc:573–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573Status ValidateFileLocation(const AzureLocation& location) {
574 if (location.container.empty()) {
575 return PathNotFound(location);
576 }
577 if (location.path.empty()) {
578 return NotAFile(location);
579 }
580 return internal::AssertNoTrailingSlash(location.path);
581}
582
583Status InvalidDirMoveToSubdir(const AzureLocation& src, const AzureLocation& dest) {
584 return Status::Invalid("Cannot Move to '", dest.all, "' and make '", src.all,

Callers 3

OpenInputFileMethod · 0.85
OpenAppendStreamMethod · 0.85
CopyFileFunction · 0.85

Calls 4

AssertNoTrailingSlashFunction · 0.85
PathNotFoundFunction · 0.70
NotAFileFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected