Loading...
Searching...
No Matches
Process::FileIndex Class Reference

Public Member Functions

void scan (const QString &folder, FileScan *progress=nullptr)
 
std::vector< QString > candidates (const QString &missingPath, qint64 size=-1) const
 
int fileCount () const noexcept
 
const QString & root () const noexcept
 

Member Function Documentation

◆ candidates()

std::vector< QString > Process::FileIndex::candidates ( const QString &  missingPath,
qint64  size = -1 
) const

Absolute paths whose file name matches, case-insensitively, best first. size, when > 0, promotes exact size matches.

◆ scan()

void Process::FileIndex::scan ( const QString &  folder,
FileScan *  progress = nullptr 
)

Walk folder recursively and exhaustively. A cancelled progress stops the walk and leaves the index holding what it had reached so far.


The documentation for this class was generated from the following files: