MCPcopy Create free account
hub / github.com/Constellation/iv / JoinFilePathStr

Function JoinFilePathStr

test/test_stringpiece.cc:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <iv/ustring.h>
5
6static void JoinFilePathStr(const iv::core::StringPiece& dir,
7 const iv::core::StringPiece& base,
8 std::string* out) {
9 dir.CopyToString(out);
10 out->push_back('/');
11 base.AppendToString(out);
12}
13
14
15TEST(StringPieceCase, CharTest) {

Callers 1

TESTFunction · 0.85

Calls 3

CopyToStringMethod · 0.80
AppendToStringMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected