Move check_file_exists() to file_utils.{h,cc}

This commit is contained in:
Joe Thornber
2013-09-16 13:42:39 +01:00
parent ea424c4134
commit 14122d6875
3 changed files with 16 additions and 10 deletions

View File

@ -3,11 +3,16 @@
#include "persistent-data/block.h"
#include <string>
//----------------------------------------------------------------
// FIXME: move to a different unit
namespace persistent_data {
persistent_data::block_address get_nr_blocks(string const &path);
block_manager<>::ptr open_bm(std::string const &dev_path, block_io<>::mode m);
void check_file_exists(std::string const &file);
}
//----------------------------------------------------------------