mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor GetArchivalDirectoryName to filename.h
Summary: filename.h has functions to do similar things. Moving code away from db_impl.cc Test Plan: make check Reviewers: dhruba Reviewed By: dhruba Differential Revision: https://reviews.facebook.net/D7251
This commit is contained in:
@@ -2225,7 +2225,7 @@ TEST(DBTest, WALArchival) {
|
||||
// Re-open db. Causes deletion/archival to take place.
|
||||
// Assert that the files moved under "/archive".
|
||||
|
||||
std::string archiveDir = dbfull()->GetArchivalDirectoryName();
|
||||
std::string archiveDir = ArchivalDirectory(dbname_);
|
||||
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user