libcryfs/src/cryfs_lib/CryDevice.cpp

37 lines
694 B
C++
Raw Normal View History

#include "CryDevice.h"
#include "CryDir.h"
#include "CryFile.h"
#include "fspp/fuse/FuseErrnoException.h"
using std::unique_ptr;
using std::unique_ptr;
using std::make_unique;
//TODO Get rid of this in favor of exception hierarchy
using fspp::fuse::CHECK_RETVAL;
2014-12-07 08:57:23 +01:00
using fspp::fuse::FuseErrnoException;
using blobstore::BlobStore;
namespace cryfs {
2014-12-07 08:57:23 +01:00
CryDevice::CryDevice(unique_ptr<BlobStore> blobStore)
: _blobStore(std::move(blobStore)) {
}
CryDevice::~CryDevice() {
}
2014-11-16 00:05:28 +01:00
unique_ptr<fspp::Node> CryDevice::Load(const bf::path &path) {
2014-12-07 08:57:23 +01:00
throw FuseErrnoException(ENOTSUP);
}
void CryDevice::statfs(const bf::path &path, struct statvfs *fsstat) {
2014-12-07 08:57:23 +01:00
throw FuseErrnoException(ENOTSUP);
}
2014-12-07 08:57:23 +01:00
}