- Adapt to new fspp (symlink support), but don't support symlinks yet
This commit is contained in:
parent
5c63e1c277
commit
935549f822
@ -67,4 +67,8 @@ fspp::Dir::EntryType CryDir::getType() const {
|
|||||||
return fspp::Dir::EntryType::DIR;
|
return fspp::Dir::EntryType::DIR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CryDir::createSymlink(const string &name, const bf::path &target) {
|
||||||
|
//TODO
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ public:
|
|||||||
//TODO return type variance to CryFile/CryDir?
|
//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;
|
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 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)
|
//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;
|
std::unique_ptr<std::vector<fspp::Dir::Entry>> children() const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user