Replaced absolute paths to messmer/blockstore/... with relative local paths
This commit is contained in:
parent
b13b9d8689
commit
294530c662
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlock.h>
|
#include "InMemoryBlock.h"
|
||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
#include "InMemoryBlockStore.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
||||||
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/Block.h>
|
#include "../../interface/Block.h"
|
||||||
#include <messmer/blockstore/utils/Data.h>
|
#include "../../utils/Data.h"
|
||||||
|
|
||||||
namespace blockstore {
|
namespace blockstore {
|
||||||
namespace inmemory {
|
namespace inmemory {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlock.h>
|
#include "InMemoryBlock.h"
|
||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
#include "InMemoryBlockStore.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
||||||
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/helpers/BlockStoreWithRandomKeys.h>
|
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||||
#include <messmer/cpp-utils/macros.h>
|
#include <messmer/cpp-utils/macros.h>
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/FileAlreadyExistsException.h>
|
#include "FileAlreadyExistsException.h"
|
||||||
|
|
||||||
namespace bf = boost::filesystem;
|
namespace bf = boost::filesystem;
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <messmer/blockstore/implementations/ondisk/FileAlreadyExistsException.h>
|
#include "FileAlreadyExistsException.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "OnDiskBlock.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlockStore.h>
|
#include "OnDiskBlockStore.h"
|
||||||
#include <messmer/blockstore/utils/FileDoesntExistException.h>
|
#include "../../utils/FileDoesntExistException.h"
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
using std::make_unique;
|
using std::make_unique;
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#define BLOCKSTORE_IMPLEMENTATIONS_ONDISK_ONDISKBLOCK_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_ONDISK_ONDISKBLOCK_H_
|
||||||
|
|
||||||
#include <boost/filesystem/path.hpp>
|
#include <boost/filesystem/path.hpp>
|
||||||
#include <messmer/blockstore/interface/Block.h>
|
#include "../../interface/Block.h"
|
||||||
#include <messmer/blockstore/utils/Data.h>
|
#include "../../utils/Data.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "messmer/cpp-utils/macros.h"
|
#include "messmer/cpp-utils/macros.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "OnDiskBlock.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlockStore.h>
|
#include "OnDiskBlockStore.h"
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
using std::make_unique;
|
using std::make_unique;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define BLOCKSTORE_IMPLEMENTATIONS_ONDISK_ONDISKBLOCKSTORE_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_ONDISK_ONDISKBLOCKSTORE_H_
|
||||||
|
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <messmer/blockstore/interface/helpers/BlockStoreWithRandomKeys.h>
|
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||||
|
|
||||||
#include "messmer/cpp-utils/macros.h"
|
#include "messmer/cpp-utils/macros.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/testfake/FakeBlock.h>
|
#include "FakeBlock.h"
|
||||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
#include "FakeBlockStore.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
||||||
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCK_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/Block.h>
|
#include "../../interface/Block.h"
|
||||||
#include "../../utils/Data.h"
|
#include "../../utils/Data.h"
|
||||||
|
|
||||||
#include "messmer/cpp-utils/macros.h"
|
#include "messmer/cpp-utils/macros.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/testfake/FakeBlock.h>
|
#include "FakeBlock.h"
|
||||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
#include "FakeBlockStore.h"
|
||||||
|
|
||||||
using std::unique_ptr;
|
using std::unique_ptr;
|
||||||
using std::make_unique;
|
using std::make_unique;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
#ifndef BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
||||||
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
#define BLOCKSTORE_IMPLEMENTATIONS_INMEMORY_INMEMORYBLOCKSTORE_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/helpers/BlockStoreWithRandomKeys.h>
|
#include "../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||||
#include "../../utils/Data.h"
|
#include "../../utils/Data.h"
|
||||||
#include "messmer/cpp-utils/macros.h"
|
#include "messmer/cpp-utils/macros.h"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef BLOCKSTORE_INTERFACE_BLOCK_H_
|
#ifndef BLOCKSTORE_INTERFACE_BLOCK_H_
|
||||||
#define BLOCKSTORE_INTERFACE_BLOCK_H_
|
#define BLOCKSTORE_INTERFACE_BLOCK_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/utils/Key.h>
|
#include "../utils/Key.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
namespace blockstore {
|
namespace blockstore {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef FSPP_BLOCKSTORE_BLOCKSTORE_H_
|
#ifndef FSPP_BLOCKSTORE_BLOCKSTORE_H_
|
||||||
#define FSPP_BLOCKSTORE_BLOCKSTORE_H_
|
#define FSPP_BLOCKSTORE_BLOCKSTORE_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/Block.h>
|
#include "Block.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <messmer/blockstore/interface/helpers/BlockStoreWithRandomKeys.h>
|
#include "BlockStoreWithRandomKeys.h"
|
||||||
|
|
||||||
using namespace blockstore;
|
using namespace blockstore;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef FSPP_BLOCKSTORE_BLOCKSTOREWITHRANDOMKEYS_H_
|
#ifndef FSPP_BLOCKSTORE_BLOCKSTOREWITHRANDOMKEYS_H_
|
||||||
#define FSPP_BLOCKSTORE_BLOCKSTOREWITHRANDOMKEYS_H_
|
#define FSPP_BLOCKSTORE_BLOCKSTOREWITHRANDOMKEYS_H_
|
||||||
|
|
||||||
#include <messmer/blockstore/interface/BlockStore.h>
|
#include "../BlockStore.h"
|
||||||
#include "../Block.h"
|
#include "../Block.h"
|
||||||
|
|
||||||
namespace blockstore {
|
namespace blockstore {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlock.h>
|
#include "../../../implementations/inmemory/InMemoryBlock.h"
|
||||||
#include <messmer/blockstore/implementations/inmemory/InMemoryBlockStore.h>
|
#include "../../../implementations/inmemory/InMemoryBlockStore.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreTest.h>
|
#include "../../testutils/BlockStoreTest.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreWithRandomKeysTest.h>
|
#include "../../testutils/BlockStoreWithRandomKeysTest.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "../../../implementations/ondisk/OnDiskBlock.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlockStore.h>
|
#include "../../../implementations/ondisk/OnDiskBlockStore.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreTest.h>
|
#include "../../testutils/BlockStoreTest.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreWithRandomKeysTest.h>
|
#include "../../testutils/BlockStoreWithRandomKeysTest.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include "messmer/tempfile/src/TempDir.h"
|
#include "messmer/tempfile/src/TempDir.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/FileAlreadyExistsException.h>
|
#include "../../../../implementations/ondisk/FileAlreadyExistsException.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "../../../../implementations/ondisk/OnDiskBlock.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include "messmer/tempfile/src/TempFile.h"
|
#include "messmer/tempfile/src/TempFile.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/FileAlreadyExistsException.h>
|
#include "../../../../implementations/ondisk/FileAlreadyExistsException.h"
|
||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "../../../../implementations/ondisk/OnDiskBlock.h"
|
||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "../../../testutils/DataBlockFixture.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include "messmer/tempfile/src/TempFile.h"
|
#include "messmer/tempfile/src/TempFile.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <messmer/blockstore/implementations/ondisk/OnDiskBlock.h>
|
#include "../../../../implementations/ondisk/OnDiskBlock.h"
|
||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "../../../testutils/DataBlockFixture.h"
|
||||||
#include <messmer/blockstore/utils/FileDoesntExistException.h>
|
#include "../../../../utils/FileDoesntExistException.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include "../../../../utils/Data.h"
|
#include "../../../../utils/Data.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <messmer/blockstore/implementations/testfake/FakeBlock.h>
|
#include "../../../implementations/testfake/FakeBlock.h"
|
||||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
#include "../../../implementations/testfake/FakeBlockStore.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreTest.h>
|
#include "../../testutils/BlockStoreTest.h"
|
||||||
#include <messmer/blockstore/test/testutils/BlockStoreWithRandomKeysTest.h>
|
#include "../../testutils/BlockStoreWithRandomKeysTest.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Tests that the header can be included without needing additional header includes as dependencies.
|
* Tests that the header can be included without needing additional header includes as dependencies.
|
||||||
*/
|
*/
|
||||||
#include <messmer/blockstore/interface/BlockStore.h>
|
#include "../../interface/BlockStore.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Tests that the header can be included without needing additional header includes as dependencies.
|
* Tests that the header can be included without needing additional header includes as dependencies.
|
||||||
*/
|
*/
|
||||||
#include <messmer/blockstore/interface/Block.h>
|
#include "../../interface/Block.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <messmer/blockstore/interface/helpers/BlockStoreWithRandomKeys.h>
|
#include "../../../interface/helpers/BlockStoreWithRandomKeys.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
#include "google/gmock/gmock.h"
|
#include "google/gmock/gmock.h"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#define TEST_BLOCKSTORE_IMPLEMENTATIONS_TESTUTILS_BLOCKSTOREWITHRANDOMKEYSTEST_H_
|
#define TEST_BLOCKSTORE_IMPLEMENTATIONS_TESTUTILS_BLOCKSTOREWITHRANDOMKEYSTEST_H_
|
||||||
|
|
||||||
#include <google/gtest/gtest.h>
|
#include <google/gtest/gtest.h>
|
||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "DataBlockFixture.h"
|
||||||
|
|
||||||
#include "../../interface/BlockStore.h"
|
#include "../../interface/BlockStore.h"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <messmer/blockstore/implementations/testfake/FakeBlockStore.h>
|
#include "../../implementations/testfake/FakeBlockStore.h"
|
||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "../testutils/DataBlockFixture.h"
|
||||||
#include <messmer/blockstore/utils/BlockStoreUtils.h>
|
#include "../../utils/BlockStoreUtils.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "../testutils/DataBlockFixture.h"
|
||||||
#include <messmer/blockstore/utils/Data.h>
|
#include "../../utils/Data.h"
|
||||||
#include <messmer/blockstore/utils/FileDoesntExistException.h>
|
#include "../../utils/FileDoesntExistException.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
#include "messmer/tempfile/src/TempFile.h"
|
#include "messmer/tempfile/src/TempFile.h"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <messmer/blockstore/test/testutils/DataBlockFixture.h>
|
#include "../testutils/DataBlockFixture.h"
|
||||||
#include <messmer/blockstore/utils/Data.h>
|
#include "../../utils/Data.h"
|
||||||
#include <messmer/blockstore/utils/Key.h>
|
#include "../../utils/Key.h"
|
||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <messmer/blockstore/utils/Data.h>
|
#include "Data.h"
|
||||||
#include <messmer/blockstore/utils/FileDoesntExistException.h>
|
#include "FileDoesntExistException.h"
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <messmer/blockstore/utils/FileDoesntExistException.h>
|
#include "FileDoesntExistException.h"
|
||||||
|
|
||||||
namespace bf = boost::filesystem;
|
namespace bf = boost::filesystem;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <cryptopp/cryptopp/hex.h>
|
#include <cryptopp/cryptopp/hex.h>
|
||||||
#include <cryptopp/cryptopp/osrng.h>
|
#include <cryptopp/cryptopp/osrng.h>
|
||||||
#include <messmer/blockstore/utils/Key.h>
|
#include "Key.h"
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user