mirror of
https://github.com/usatiuk/backup.git
synced 2025-10-26 17:37:47 +01:00
better commands
This commit is contained in:
@@ -137,7 +137,10 @@ void RepoFS::start(Repository *repo, std::string path) {
|
||||
for (auto const &f: a.files) {
|
||||
auto file = Serialize::deserialize<File>(repo->getObject(f));
|
||||
// TODO: symlinks
|
||||
if (file.fileType == File::Type::Symlink) throw Exception("Symlinks not supported yet!");
|
||||
if (file.fileType == File::Type::Symlink) {
|
||||
std::cerr << "Symlinks not supported yet!" << std::endl;
|
||||
continue;
|
||||
}
|
||||
auto path = std::filesystem::u8path(file.name);
|
||||
DirEntry *entry = &(root.children[std::to_string(a.id)]);
|
||||
entry->isFakeDir = true;
|
||||
|
||||
Reference in New Issue
Block a user