LogCabin
Classes | Namespaces | Functions
Storage/Tool.cc File Reference
#include <getopt.h>
#include <sys/file.h>
#include <unistd.h>
#include <functional>
#include <iostream>
#include <string>
#include "build/Server/SnapshotMetadata.pb.h"
#include "build/Server/SnapshotStateMachine.pb.h"
#include "Core/Config.h"
#include "Core/Debug.h"
#include "Core/ProtoBuf.h"
#include "Core/StringUtil.h"
#include "Core/ThreadId.h"
#include "Core/Util.h"
#include "Storage/Layout.h"
#include "Storage/Log.h"
#include "Storage/LogFactory.h"
#include "Storage/SnapshotFile.h"
#include "Tree/Tree.h"

Go to the source code of this file.

Classes

class  anonymous_namespace{Tool.cc}::OptionParser
 Parses argv for the main function. More...

Namespaces

namespace  anonymous_namespace{Tool.cc}

Functions

void anonymous_namespace{Tool.cc}::dumpTree (const Tree::Tree &tree, const std::string &path="/")
void anonymous_namespace{Tool.cc}::readSnapshot (Storage::Layout &storageLayout)
int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 225 of file Tool.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines