2#include <Process/FileOperation.hpp>
8#include <score_lib_process_export.h>
14struct DocumentContext;
28SCORE_LIB_PROCESS_EXPORT
48 void scan(
const QString& folder,
int maxFiles = 250000);
53 std::vector<QString> candidates(
const QString& missingPath, qint64 size = -1)
const;
55 int fileCount()
const noexcept {
return int(m_byName.size()); }
56 bool truncated()
const noexcept {
return m_truncated; }
57 const QString& root()
const noexcept {
return m_root; }
62 QMultiHash<QString, QString> m_byName;
77SCORE_LIB_PROCESS_EXPORT
An index of the files under a folder, used to relink by name.
Definition MissingFiles.hpp:40
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115
FileReport relinkFiles(const score::DocumentContext &ctx, const QHash< QString, QString > &chosen)
Repoint references at the files they were found at.
Definition MissingFiles.cpp:99
FileReport scanMissingFiles(const score::DocumentContext &ctx)
Everything the document references and cannot find right now.
Definition MissingFiles.cpp:14
Base toolkit upon which the software is built.
Definition Application.cpp:116
Definition FileOperation.hpp:78
Definition DocumentContext.hpp:18