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

Function tabs_li

src/brpc/server.cpp:1903–1910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1901}
1902
1903inline void tabs_li(std::ostream& os, const char* link,
1904 const char* tab_name, const char* current_tab_name) {
1905 os << "<li id='" << link << '\'';
1906 if (strcmp(current_tab_name, tab_name) == 0) {
1907 os << " class='current'";
1908 }
1909 os << '>' << tab_name << "</li>\n";
1910}
1911
1912void Server::PrintTabsBody(std::ostream& os,
1913 const char* current_tab_name) const {

Callers 1

PrintTabsBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected