This commit is contained in:
Sebastian Messmer 2015-03-08 01:18:06 +01:00
parent ffd9ada260
commit f51f80e5eb
2 changed files with 0 additions and 3 deletions

View File

@ -62,7 +62,6 @@ unique_ptr<OnDiskBlock> OnDiskBlock::LoadFromDisk(const bf::path &rootdir, const
}
unique_ptr<OnDiskBlock> OnDiskBlock::CreateOnDisk(const bf::path &rootdir, const Key &key, size_t size) {
//TODO Only writeback, if data was actually changed (Block::write() was called)
auto filepath = rootdir / key.ToString();
if (bf::exists(filepath)) {
return nullptr;

View File

@ -9,8 +9,6 @@
namespace blockstore {
//TODO Don't use string, but own class for keys? (better performance for all keys have same length)
class BlockStore {
public:
virtual ~BlockStore() {}