MCPcopy Create free account
hub / github.com/apache/brpc / PrefixLess

Class PrefixLess

src/brpc/restful.cpp:396–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396struct PrefixLess {
397 bool operator()(const butil::StringPiece& path,
398 const RestfulMethodProperty* p) const {
399 return path < p->path.prefix;
400 }
401};
402
403const Server::MethodProperty*
404RestfulMap::FindMethodProperty(const butil::StringPiece& method_path,

Callers 1

FindMethodPropertyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected