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

Function ValidatePath

cpp/src/arrow/util/io_util.cc:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202Status ValidatePath(std::string_view s) {
203 if (s.find_first_of('\0') != std::string::npos) {
204 return Status::Invalid("Embedded NUL char in path: '", s, "'");
205 }
206 return Status::OK();
207}
208
209} // namespace
210

Callers 1

FromStringMethod · 0.70

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected