MCPcopy Create free account
hub / github.com/ElementsProject/elements / HandleDumpCommand

Function HandleDumpCommand

src/leveldb/db/leveldbutil.cc:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26bool HandleDumpCommand(Env* env, char** files, int num) {
27 StdoutPrinter printer;
28 bool ok = true;
29 for (int i = 0; i < num; i++) {
30 Status s = DumpFile(env, files[i], &printer);
31 if (!s.ok()) {
32 fprintf(stderr, "%s\n", s.ToString().c_str());
33 ok = false;
34 }
35 }
36 return ok;
37}
38
39} // namespace
40} // namespace leveldb

Callers 1

mainFunction · 0.85

Calls 2

DumpFileFunction · 0.85
ToStringMethod · 0.45

Tested by

no test coverage detected