Fix review comments.

Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
allexzander 2021-06-08 11:53:42 +03:00 committed by Matthieu Gallien (Rebase PR Action)
parent 5dd310c21c
commit d6ddf595f8

View File

@ -483,7 +483,9 @@ bool FileSystem::isLnkFile(const QString &filename)
bool FileSystem::isExcludeFile(const QString &filename)
{
return filename.compare(QStringLiteral(".sync-exclude.lst"), Qt::CaseInsensitive) == 0
|| filename.compare(QStringLiteral("exclude.lst"), Qt::CaseInsensitive) == 0;
|| filename.compare(QStringLiteral("exclude.lst"), Qt::CaseInsensitive) == 0
|| filename.endsWith(QStringLiteral("/.sync-exclude.lst"), Qt::CaseInsensitive)
|| filename.endsWith(QStringLiteral("/exclude.lst"), Qt::CaseInsensitive);
}
bool FileSystem::isJunction(const QString &filename)