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

Method Validate

cpp/src/arrow/filesystem/gcsfs.cc:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 static Status Validate(const GcsPath& path) {
82 auto st = internal::ValidateAbstractPath(path.full_path);
83 if (!st.ok()) {
84 return Status::Invalid(st.message(), " in path ", path.full_path);
85 }
86 return Status::OK();
87 }
88
89 GcsPath parent() const {
90 auto object_parent = internal::GetAbstractPathParent(object).first;

Callers

nothing calls this directly

Calls 4

ValidateAbstractPathFunction · 0.85
InvalidFunction · 0.50
OKFunction · 0.50
okMethod · 0.45

Tested by

no test coverage detected