- Adapt to new fspp (symlink support), but don't support symlinks yet

This commit is contained in:
Sebastian Messmer 2015-04-22 16:02:23 +02:00
parent 5c63e1c277
commit 935549f822
2 changed files with 5 additions and 0 deletions

View File

@ -67,4 +67,8 @@ fspp::Dir::EntryType CryDir::getType() const {
return fspp::Dir::EntryType::DIR;
}
void CryDir::createSymlink(const string &name, const bf::path &target) {
//TODO
}
}

View File

@ -16,6 +16,7 @@ public:
//TODO return type variance to CryFile/CryDir?
std::unique_ptr<fspp::OpenFile> createAndOpenFile(const std::string &name, mode_t mode, uid_t uid, gid_t gid) override;
void createDir(const std::string &name, mode_t mode, uid_t uid, gid_t gid) override;
void createSymlink(const std::string &name, const boost::filesystem::path &target) override;
//TODO Make Entry a public class instead of hidden in DirBlob (which is not publicly visible)
std::unique_ptr<std::vector<fspp::Dir::Entry>> children() const override;