2014-11-15 16:33:24 +01:00
|
|
|
#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"
|
2014-11-15 16:33:24 +01:00
|
|
|
|
|
|
|
namespace bf = boost::filesystem;
|
|
|
|
|
|
|
|
//TODO Get rid of this in favor of an exception hierarchy
|
2014-11-28 14:46:45 +01:00
|
|
|
using fspp::fuse::CHECK_RETVAL;
|
2014-12-07 08:57:23 +01:00
|
|
|
using fspp::fuse::FuseErrnoException;
|
2014-11-15 16:33:24 +01:00
|
|
|
|
|
|
|
namespace cryfs {
|
|
|
|
|
2014-12-07 08:57:23 +01:00
|
|
|
CryNode::CryNode() {
|
2014-11-15 16:33:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
CryNode::~CryNode() {
|
|
|
|
}
|
|
|
|
|
|
|
|
void CryNode::access(int mask) const {
|
2014-12-07 10:42:16 +01:00
|
|
|
return;
|
2014-12-07 08:57:23 +01:00
|
|
|
throw FuseErrnoException(ENOTSUP);
|
2014-11-15 16:33:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CryNode::rename(const bf::path &to) {
|
2014-12-07 08:57:23 +01:00
|
|
|
throw FuseErrnoException(ENOTSUP);
|
2014-11-15 16:33:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CryNode::utimens(const timespec times[2]) {
|
2014-12-07 08:57:23 +01:00
|
|
|
throw FuseErrnoException(ENOTSUP);
|
2014-11-15 16:33:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
} /* namespace cryfs */
|