libcryfs/test/cryfs/impl/filesystem/testutils/CryTestBase.cpp
Sebastian Messmer 2425ce4bc0 Make CryNode::rename() more resilient to corner cases, e.g.
- when trying to move a directory into a subdirectory of itself
- make it into its own ancestor
- allow replacing a directory with another directory, but only if the target directory is empty

Nothing here should have an effect on overall CryFS behavior because fuse already catches those corner cases.
But it's better to handle them correctly. Better safe than sorry.
2022-12-18 14:57:38 +01:00

4 lines
75 B
C++

#include "CryTestBase.h"
constexpr fspp::mode_t CryTestBase::MODE_PUBLIC;