| 83 | } |
| 84 | |
| 85 | std::string ManifestFileName() { |
| 86 | std::string current; |
| 87 | ASSERT_OK(ReadFileToString(env_, CurrentFileName(dbname_), ¤t)); |
| 88 | size_t len = current.size(); |
| 89 | if (len > 0 && current[len - 1] == '\n') { |
| 90 | current.resize(len - 1); |
| 91 | } |
| 92 | return dbname_ + "/" + current; |
| 93 | } |
| 94 | |
| 95 | std::string LogName(uint64_t number) { return LogFileName(dbname_, number); } |
| 96 |
nothing calls this directly
no test coverage detected