shared: common: Add mountPaths()

Mountpaths indicate mount points of external devices. Files
located under such paths should not be removed on sync, because
they may have not been deleted, but are just inaccessible right now.
Tento commit je obsažen v:
2022-06-05 20:53:37 +02:00
rodič 0e5abf96c8
revize 61a446ec2d
2 změnil soubory, kde provedl 29 přidání a 0 odebrání

Zobrazit soubor

@@ -12,7 +12,9 @@ QString findInPath(QString needle);
bool initSqliteDatabase(QString path);
void ensureConfigured();
QStringList excludedPaths();
QStringList mountPaths();
bool isTextFile(QFileInfo fileInfo);
bool isMountPath(QString path);
QString versionText();
} // namespace Common
#endif