MCPcopy Create free account
hub / github.com/cryptonomex/graphene / wipe

Method wipe

libraries/db/object_database.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void object_database::wipe(const fc::path& data_dir)
82{
83 close();
84 ilog("Wiping object database...");
85 fc::remove_all(data_dir / "object_database");
86 ilog("Done wiping object databse.");
87}
88
89void object_database::open(const fc::path& data_dir)
90{ try {

Callers 1

startupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected