dae7379050
Summary: Primarily a refactor. Introduced LDBTool interface to which customers can plug in their options and this will create their own version of ldb tool. Test Plan: made ldb tool and tried it. Reviewers: dhruba, heyongqiang Reviewed By: dhruba CC: leveldb Differential Revision: https://reviews.facebook.net/D10191
12 lines
286 B
C++
12 lines
286 B
C++
// Copyright (c) 2012 Facebook. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "leveldb/ldb_tool.h"
|
|
|
|
int main(int argc, char** argv) {
|
|
leveldb::LDBTool tool;
|
|
tool.Run(argc, argv);
|
|
return 0;
|
|
}
|