void RemoveFile(const std::string& d,
tree::Node* filename);
- ///Synchronizes the loaded data with the database. If remove is true the database will be updated, otherwise
+ /// Copies the files into the local directory
+ void CopyFiles(const std::vector<std::string>& filenames, const std::string& d );
+
+
+ ///Synchronizes the loaded data with the database d. If repair is true the database will be updated, otherwise
///only a warning sign will be issued
- std::string Synchronize(bool repair, bool checkAttributes);
+ std::string Synchronize(const std::string& d, bool repair, bool checkAttributes);
/// Prints the tree handled by the handler
void Print(const std::string& handler);