commit | a12f528b5274e018c09326d8a0b4b21528f34c3c | [log] [tgz] |
---|---|---|
author | Shuo Chen <chenatu2006@gmail.com> | Fri Aug 01 15:18:30 2014 +0800 |
committer | Alex Afanasyev <alexander.afanasyev@ucla.edu> | Wed Aug 13 18:49:03 2014 -0700 |
tree | fa82759fa48582043d7e6e473da307e66a92216f | |
parent | 90d1e88e0d25ea5c19a811091e255d43c6f150ad [diff] [blame] |
repo: initialize storage (e.g., rebuild index) Change-Id: Iba8d5db1ecfb67c085f7f6355726a41b3f48aafa Refs: #1831
diff --git a/src/repo.hpp b/src/repo.hpp index ba518d1..e1feea6 100644 --- a/src/repo.hpp +++ b/src/repo.hpp
@@ -72,6 +72,10 @@ public: Repo(boost::asio::io_service& ioService, const RepoConfig& config); + //@brief rebuild index from storage file when repo starts. + void + initializeStorage(); + void enableListening();