Lines Matching defs:files
7 * of this software and/or associated documentation files (the "Materials"), to
430 auto list_of_files_to_delete = files;
431 // remove(file) modifies the files variable, copy the list before deleting it
440 FolderManager::FolderManager(FolderManager&& other) noexcept : folder(other.folder), files(other.files) {
445 files = other.files;
452 auto found = std::find(files.begin(), files.end(), name);
453 if (found != files.end()) {
456 files.emplace_back(name);
466 void FolderManager::add_existing_file(std::string const& file_name) { files.emplace_back(file_name); }
471 auto found = std::find(files.begin(), files.end(), name);
472 if (found != files.end()) {
478 files.erase(found);
488 auto found = std::find(files.begin(), files.end(), new_name);
489 if (found != files.end()) {
494 files.emplace_back(new_name);