WIP on cache tools
This commit is contained in:
15
persistent-data/file_utils.h
Normal file
15
persistent-data/file_utils.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef THIN_FILE_UTILS_H
|
||||
#define THIN_FILE_UTILS_H
|
||||
|
||||
#include "persistent-data/block.h"
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user