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

Function IsTextRangeSet

cpp/src/arrow/util/uri.cc:50–50  ·  view source on GitHub ↗

There can be a difference between an absent field and an empty field. For example, in "unix:/tmp/foo", the host is absent, while in "unix:///tmp/foo", the host is empty but present. This function helps distinguish.

Source from the content-addressed store, hash-verified

48// "unix:///tmp/foo", the host is empty but present.
49// This function helps distinguish.
50bool IsTextRangeSet(const UriTextRangeStructA& range) { return range.first != nullptr; }
51
52#ifdef _WIN32
53bool IsDriveSpec(const std::string_view s) {

Callers 1

has_hostMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected