MCPcopy Create free account
hub / github.com/cvmfs/cvmfs / GenerateString

Method GenerateString

cvmfs/json_document_write.h:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 std::string GenerateString() const {
124 std::string output;
125
126 output += "{";
127 for (size_t i = 0u; i < this->entries.size(); ++i) {
128 output += this->entries[i].Format();
129 if (i < this->entries.size() - 1) {
130 output += ',';
131 }
132 }
133 output += std::string("}");
134 return output;
135 }
136
137 void Clear() { entries.clear(); }
138

Callers 11

CommitMethod · 0.80
PrintJSONMethod · 0.80
MakeAcquireRequestFunction · 0.80
HandleGenerateTokenMethod · 0.80
HandleGetTokenIdMethod · 0.80
HandleCheckTokenMethod · 0.80
HandleSubmitPayloadMethod · 0.80
DoCommitMethod · 0.80
HandleRequestMethod · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80

Calls 2

FormatMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected