MCPcopy Create free account
hub / github.com/comaps/comaps / ReplaceInContainer

Function ReplaceInContainer

libs/coding/coding_tests/files_container_tests.cpp:150–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148namespace
149{
150void ReplaceInContainer(string const & fName, char const * key, char const * value)
151{
152 FilesContainerW writer(fName, FileWriter::OP_WRITE_EXISTING);
153 auto w = writer.GetWriter(key);
154 w->Write(value, strlen(value));
155}
156
157void CheckContainer(string const & fName, char const * key[], char const * value[], size_t count)
158{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

GetWriterMethod · 0.80
WriteMethod · 0.45

Tested by

no test coverage detected