libcryfs/CryNode.cpp

38 lines
677 B
C++
Raw Normal View History

#include "CryNode.h"
#include <sys/time.h>
#include "CryDevice.h"
2015-03-06 21:00:30 +01:00
#include "CryDir.h"
#include "CryFile.h"
2015-02-17 01:02:15 +01:00
#include "messmer/fspp/fuse/FuseErrnoException.h"
namespace bf = boost::filesystem;
//TODO Get rid of this in favor of an exception hierarchy
using fspp::fuse::CHECK_RETVAL;
2014-12-07 08:57:23 +01:00
using fspp::fuse::FuseErrnoException;
namespace cryfs {
2014-12-07 08:57:23 +01:00
CryNode::CryNode() {
}
CryNode::~CryNode() {
}
void CryNode::access(int mask) const {
return;
2014-12-07 08:57:23 +01:00
throw FuseErrnoException(ENOTSUP);
}
void CryNode::rename(const bf::path &to) {
2014-12-07 08:57:23 +01:00
throw FuseErrnoException(ENOTSUP);
}
void CryNode::utimens(const timespec times[2]) {
2014-12-07 08:57:23 +01:00
throw FuseErrnoException(ENOTSUP);
}
} /* namespace cryfs */