comparison OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp @ 5080:d7274e43ea7c attach-custom-data

allow plugins to store a customData in the Attachments table to e.g. store custom paths without requiring an external DB
author Alain Mazy <am@osimis.io>
date Thu, 08 Sep 2022 17:42:08 +0200
parents 43e613a7756b
children 8279eaab0d1d
comparison
equal deleted inserted replaced
5079:4366b4c41441 5080:d7274e43ea7c
240 240
241 void FilesystemStorage::Clear() 241 void FilesystemStorage::Clear()
242 { 242 {
243 namespace fs = boost::filesystem; 243 namespace fs = boost::filesystem;
244 typedef std::set<std::string> List; 244 typedef std::set<std::string> List;
245 std::string customDataNotUsed;
245 246
246 List result; 247 List result;
247 ListAllFiles(result); 248 ListAllFiles(result);
248 249
249 for (List::const_iterator it = result.begin(); it != result.end(); ++it) 250 for (List::const_iterator it = result.begin(); it != result.end(); ++it)